-
Notifications
You must be signed in to change notification settings - Fork 17
Fail to download any images on Python 3.7 #25
Comments
Thanks for the report, looks like this is jmcarp/robobrowser#87 I do not have a python 3.7 setup around to test, can you try adding "re._pattern_type = re.Pattern" in set_browser()? Before the main RoboBrowser call. That is an ugly workaround though, but robobrowser is mostly dead (I should just switch to plain requests/beautifulsoup one day) |
Thanks! I tried adding that, but it brings up the following error. I also tried adding the quotes, but it produces the same error. I will try downgrading my Python installation.
|
Thanks again, and I can confirm this is only an issue in Python 3.7.0. I downgraded to 3.6.6 and it works fine. |
No problem! Thanks for confirming python 3.7 is the root cause I will push a workaround that should support it (quickly tested with a 3.7 virtualenv), until I can think of a proper long-term fix |
I'm using dagr.py v0.64 with robobrowser 0.5.3 on Python 3.7.0- amd64 on Windows 10 Home 1803. The script starts up fine, but comes up with the following errors and fails to download any images. Username and password redacted.
The text was updated successfully, but these errors were encountered: