DracoBengali86 / WebcomicFramer

Webcomic link aggregator, and webpage builder for framed viewing
0 stars 0 forks source link

FanFiction.net browser checks screwing up automation #8

Open DracoBengali86 opened 2 years ago

DracoBengali86 commented 2 years ago

Need to find a way around the browser checks, or to make the webdriver wait through them. Extend failure time for page load?

DracoBengali86 commented 2 years ago

May need to run as session? session = requests.Session() response = session.get(url, headers={'user-agent': 'Mozilla/5.0'})

DracoBengali86 commented 2 years ago

Session didn't work, neither did cloudscraper.

Selenium doesn't work either, at least not in base settings.

DracoBengali86 commented 2 years ago

undetected_chromedriver looks like it might work.