-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A little help running the initial script for scraping: scrape_user.py #3
Comments
Assuming that the error is about doing the scraping properly, the problem here is probably about the Twint package (and/or Twitter's own "alarms"). If so, you can execute the functions in scrape_user step by step. If a step does not work, wait 1-2 mins and re-run that step again until the desired output comes. Can you post the error message if it's something else than what I said above |
After running
|
You need to download TIA with the instructions given in README, seems like you're trying to use the script without downloading TIA. |
No. I cloned the repository and use it as CWD. The README barely elaborates on how to run the script, which is why I opened the issue.
Traceback (most recent call last):
File "scrape_user.py", line 1, in
from tia.stalk import URL_ROOT
ModuleNotFoundError: No module named 'tia.stalk'
conclusionWhat am I doing wrong? Why is this not working? |
Main issue: #4 |
Thanks again! |
Barely a novice programming python, and I am a little lost on how exactly the script is intended to be run. I opened up pycharm and attempted to add the variable then execute the script with the python console:
As you probably surmised this did not work in the least. Then I added the variable
user = "some_user", then attempted to execute the script and this did not work as well. Adding
user = User("some_user") failed as well. So, I am lost as to how exactly this is supposed to be run. A little help would be greatly appreciated.The text was updated successfully, but these errors were encountered: