Fix #15: Provide an algorithm to retrieve the list of 100 French channels with most subscribers (and provide it too)

This commit is contained in:
Benjamin Loison 2023-01-06 18:06:00 +01:00
parent baec8fcb6c
commit 34bbc216f6
Signed by: Benjamin_Loison
SSH Key Fingerprint: SHA256:BtnEgYTlHdOg1u+RmYcDE0mnfz1rhv5dSbQ2gyxW8B8
2 changed files with 111 additions and 1 deletions

View File

@ -1 +1,100 @@
UCt5USYpzzMCYhkirVQGHwKQ
UCWeg2Pkate69NFdBeuRFTAw
UCyWqModMQlbIo8274Wh_ZsQ
UCww2zZWg4Cf5xcRKG-ThmXQ
UCSJ4gkVC6NrvII8umztf0Ow
UCNEKMkg_DG8eAyR1BNWsSvw
UCCB1Byx5yTbLpQaV-rlfmtA
UCz6JjQtnK9XjMwKuqlEkRxw
UCH0XvUpYcxn4V0iZGnZXMnQ
UCpWaR3gNAQGsX48cIlQC0qw
UCDnZvnYAnTPywqPlj1jwm_g
UCp8Lmjx1i93YVokA4fNAs1g
UCo3i0nUzZjjLuM7VjAVz4zA
UCgvqvBoSHB1ctlyyhoHrGwQ
UCrZ3UtzbXNYVl4r2a0xJGxQ
UCmPSwsooZq8an7xOLQQhAdw
UCDPK_MTu3uTUFJXRVcTJcEw
UCt6IQpsggvn6zmalhPglSEA
UCWIdqSQekeGmUWlSFeCiEnA
UC-69vhXlCa3XHbF8JHCQHfg
UCt9a_qP9CqHCNwilf-iULag
UC8HMvOLE0etpO_eVjJ98bHA
UC8I-UIlXPNS4luC4iV7dRdQ
UC-GI5LST5T3Gw93yZxjdFaw
UCWMYFDuCcvkmPiOf1RP_IKQ
UCzYC9ss2P77Ry2LzIDL5Xsw
UC8Q0SLrZLiTj5s4qc9aad-w
UCjd32KVfRCli1d9iqo4YZ5A
UCtBjt766LG9EDVKZx4Q4IHw
UCL9aTJb0ur4sovxcppAopEw
UChq9L7GcpwWIIe2MMxzvi9g
UC5BYACI8gIm3wDlVnhKFG5A
UCtHtVptJ7tDRvbZrTFDrf7A
UC_kRDK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aYV7tCXo1A
UC704-gdkAeYFEjudxRCEAJA
UCv-gHNur7UnJ4Gp0bYDp37w
UCoZoRz4-y6r87ptDp4Jk74g
UCIQgeXCqqK8piwOvK7tDg0w
UCgtt_xijZ03e0THlKDvPauw
UC_yP2DpIgs5Y1uWC0T03Chw
UCe7sQfrqTHc-hWXdenf7VxQ
UC99LgIedzGD1GirhFGldfUQ
UCNVMW8UDDZYVxXJqVs3lnUA
UCVRcmhHcXhKVMbupBbrEtUA
UCyMy3i-BaVOmOwTZskm52Ew
UC6irqcoPrFw8GPXVYKLsMtw
UCm3C3OSgcyzaTBXrNRupB3Q
UCJruTcTs7Gn2Tk7YC-ENeHQ
UCZ8lXecIr6UOwAJNyW1XDDg
UCZ8kV8vuMdDLSerCIFfWnFQ
UC0KU8F9jJqSLS11LRXvFWmg
UCFcM0GoHEl6vNBdff0jBHDw
UCZX_vgW4txoI-AHhxg1ef_A
UCe2YQ986DdKliHNvE8va4kQ
UCWrtcU1OId_PQ_YoBN6lIRA
UCfih6kPJCpzWmtCFtlpYK6A
UCdTyuXgmJkG_O8_75eqej-w
UCxXFx2jz8N02sNqv1VeDEGA
UCj8BKFCTH-mqRlYwcmX2xwg

View File

@ -0,0 +1,11 @@
# We can't proceed automatically by using `requests` Python module because https://socialblade.com/youtube/top/country/fr/mostsubscribed is protected by CloudFlare.
with open('mostsubscribed.html') as f:
lines = f.read().splitlines()
PREFIX = ' <a href = "/youtube/channel/'
for line in lines:
if PREFIX in line:
channelId = line.split(PREFIX)[1].split('">')[0]
print(channelId)