-
Notifications
You must be signed in to change notification settings - Fork 336
liveviewers #20
base: master
Are you sure you want to change the base?
liveviewers #20
Conversation
Possibility to add ur own proxy list by url
Update README.md
Added instructions for .py
Fixes spelling error
Added "?disable_polymer=1" to disable the new theme to reduce junk. Added a new dynamic proxy list. Added a random cycling array list of iPhone User Agents. Added some extra stuff to the headers.
Update YouTube Livestream Botter.py
fix UserAgent selection
YouTube Livestream Botter.py
Outdated
class proxy(): | ||
|
||
def update(self): | ||
while True: | ||
url = "https://api.proxyscrape.com/?request=getproxies&proxytype=http&timeout=10000&ssl=yes" | ||
url = "https://api.proxyscrape.com/?request=getproxies&proxytype=http&timeout=1000&ssl=yes" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what's the point of setting the proxy response time to 1000 milliseconds?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you set it too low, there is a chance of not getting any proxies at all. Because they are free proxies, they often don't have the best Quality, so you just take whatever proxies you can get your hands on.
YouTube Livestream Botter.py
Outdated
url= "https://m.youtube.com/watch?v=" + token | ||
url2 = "https://s.youtube.com/api/stats/watchtime?ns=yt&el=detailpage&cpn=AiWtf2fjIwVS2MeQ&docid=" + token + "&ver=2&cmt=7926.045&ei=igGSXce3IM2NgAfasp-ABg&fmt=133&fs=0&rt=1096.007&of=L_224b5BokWsQ5UWgAws_w&euri&lact=2837&live=dvr&cl=271684942&state=playing&vm=CAEQABgEKhhJc0gwZ2w0QmFfbTBWSXlWNm9ITmRRPT0&volume=100&c=MWEB&cver=2.20190928.07.00&cplayer=UNIPLAYER&cbrand=apple&cbr=Safari%20Mobile&cbrver=12.1.15E148&cmodel=iphone&cos=iPhone&cosver=12_2&cplatform%20=MOBILE&delay=5&hl=ru_RU&cr=DE&rtn=1396&afmt=140&lio=1556394045.182&idpj=&ldpj=&rti=1096&muted=0&st=7626.045&et=7926.045 " | ||
url = "https://m.youtube.com/watch?v=" + token | ||
url2 = "https://s.youtube.com/api/stats/watchtime?ns=yt&el=detailpage&cpn=AiWtf2fjIwVS2MeQ&docid=" + token + \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+ \
will throw error, what is that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you want to add an \ at the end of the string you would need to do it like so: + "\"
, but then doing this there is a possibility of it breaking the script when changing anything to the API call.
No description provided.