Closed 0xCuter closed 4 years ago
Which Python version are you using? I think fstrings are supported from Python 3.6 onwards
I resolved that, but now I get this other error when I try to run it
selenium.common.exceptions.WebDriverException: Message: unknown error: DevToolsActivePort file doesn't exist
I resolved adding this line in the scraper
chrome_options.add_argument('--no-sandbox')
But now when chrome opens up I get this when loading the login page:
Error response Error code: 502 Message: Bad Gateway. Error code explanation: 502 - Invalid responses from another server/proxy.`
When I load the same page in another tab it works perfectly
Ok, I resolved uncommenting the line You already put in the scraper for this error... It looks like it's working fine Thank You
I get this syntax error while running main.py
File "main.py", line 59 print(f"[#] Processed {processed_books} books in {formatted_time}") ^ SyntaxError: invalid syntax
If I try commenting that line I get other syntax errors in other files... I guess there is something wrong with my configuration