Closed Nyumat closed 4 years ago
For autoViews.py, I read some more of the selenium documentation and found a function to get the visible text from the dropdown instead of parsing the HTML through bs4 so I re-wrote the code last night and solved that.
For TikTokBot.py, the ReCAPTCHA V2 has no direct bypass right now through selenium, so I'm deciding to limit the bot at the add views page endpoint for mytoolstown.com so that once the user # of specified tabs are open, they simply do the CAPTCHA's themselves for each tab, which is still quite fast. Like 30k views a minute fast.
Unfortunately the Selenium version right now can't fix "bad" html code (unclosed tags, badly quoted attributes, invalid HTML) so I rather use bs4 to parse it so we can read and access the data, namely the button elements.