You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 17, 2023. It is now read-only.
Thanks for this amazing tutorial !
I tried running it with the Docker image but without success.
When having a look at the logs, as per your instructions in the troubleshooting, this is what I get:
/usr/local/lib/python3.4/dist-packages/bs4/__init__.py:181: UserWarning: No parser was explicitly specified, so I'm using the best available HTML parser for this system ("html5lib"). This usually isn't a problem, but if you run this code on another system, or in a different virtual environment, it may use a different parser and behave differently.
The code that caused this warning is on line 1 of the file main_loop.py. To get rid of this warning, change code that looks like this:
BeautifulSoup([your markup])
to this:
BeautifulSoup([your markup], "html5lib")
markup_type=markup_type))
Fri Jan 5 08:44:44 2018: Starting scrape cycle
/usr/local/lib/python3.4/dist-packages/bs4/__init__.py:181: UserWarning: No parser was explicitly specified, so I'm using the best available HTML parser for this system ("html5lib"). This usually isn't a problem, but if you run this code on another system, or in a different virtual environment, it may use a different parser and behave differently.
The code that caused this warning is on line 11 of the file main_loop.py. To get rid of this warning, change code that looks like this:
BeautifulSoup([your markup])
to this:
BeautifulSoup([your markup], "html5lib")
markup_type=markup_type))
Fri Jan 5 08:45:03 2018: Got 0 results
Fri Jan 5 08:45:03 2018: Successfully finished scraping
tail: unrecognized file system type 0x794c7630 for ‘/opt/wwc/logs/afinder.log’. please report this to [email protected]. reverting to polling
^[[A^C
root@a3bb6b996683:/opt/wwc/apartment-finder# tail -f -n 1000 /opt/wwc/logs/afinder.log
/usr/local/lib/python3.4/dist-packages/bs4/__init__.py:181: UserWarning: No parser was explicitly specified, so I'm using the best available HTML parser for this system ("html5lib"). This usually isn't a problem, but if you run this code on another system, or in a different virtual environment, it may use a different parser and behave differently.
The code that caused this warning is on line 1 of the file main_loop.py. To get rid of this warning, change code that looks like this:
BeautifulSoup([your markup])
to this:
BeautifulSoup([your markup], "html5lib")
markup_type=markup_type))
Fri Jan 5 08:44:44 2018: Starting scrape cycle
/usr/local/lib/python3.4/dist-packages/bs4/__init__.py:181: UserWarning: No parser was explicitly specified, so I'm using the best available HTML parser for this system ("html5lib"). This usually isn't a problem, but if you run this code on another system, or in a different virtual environment, it may use a different parser and behave differently.
The code that caused this warning is on line 11 of the file main_loop.py. To get rid of this warning, change code that looks like this:
BeautifulSoup([your markup])
to this:
BeautifulSoup([your markup], "html5lib")
markup_type=markup_type))
Fri Jan 5 08:45:03 2018: Got 0 results
Fri Jan 5 08:45:03 2018: Successfully finished scraping
tail: unrecognized file system type 0x794c7630 for ‘/opt/wwc/logs/afinder.log’. please report this to [email protected]. reverting to polling
Not sure you have the resources to update it, but thought you'd like to know ;-)
Thanks !
The text was updated successfully, but these errors were encountered:
Not sure whether to build my own clist scraper or tackle fixing this Traceback (most recent call last): File "main_loop.py", line 1, in <module> from scraper import do_scrape File "/opt/wwc/apartment-finder/scraper.py", line 8, in <module> from slackclient import SlackClient File "/usr/local/lib/python3.4/dist-packages/slackclient/__init__.py", line 1, in <module> from .client import SlackClient # noqa File "/usr/local/lib/python3.4/dist-packages/slackclient/client.py", line 8, in <module> from .server import Server File "/usr/local/lib/python3.4/dist-packages/slackclient/server.py", line 14, in <module> from websocket import create_connection File "/usr/local/lib/python3.4/dist-packages/websocket/__init__.py", line 23, in <module> from ._app import WebSocketApp File "/usr/local/lib/python3.4/dist-packages/websocket/_app.py", line 36, in <module> from ._core import WebSocket, getdefaulttimeout File "/usr/local/lib/python3.4/dist-packages/websocket/_core.py", line 34, in <module> from ._handshake import * File "/usr/local/lib/python3.4/dist-packages/websocket/_handshake.py", line 40, in <module> if six.PY34: AttributeError: 'module' object has no attribute 'PY34'
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Thanks for this amazing tutorial !
I tried running it with the Docker image but without success.
When having a look at the logs, as per your instructions in the troubleshooting, this is what I get:
Not sure you have the resources to update it, but thought you'd like to know ;-)
Thanks !
The text was updated successfully, but these errors were encountered: