This repository was archived by the owner on Dec 12, 2020. It is now read-only.
liveviewers#20
Open
Pyenb wants to merge 26 commits into
Open
Conversation
Possibility to add ur own proxy list by url
ajonzul
approved these changes
Apr 8, 2020
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
Airkek
suggested changes
Aug 29, 2020
| 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" |
Contributor
There was a problem hiding this comment.
what's the point of setting the proxy response time to 1000 milliseconds?
Author
There was a problem hiding this comment.
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.
| 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 + \ |
Contributor
There was a problem hiding this comment.
+ \ will throw error, what is that
Author
There was a problem hiding this comment.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.