Python
Python copied to clipboard
Error at `web_programming\instagram_crawler.py`
Repository commit
ac3bd1032c02ff5c2f6eb16f2bf5a1b24d106d1c
Python version (python --version)
3.12.0
Dependencies version (pip freeze)
beautifulsoup4==4.12.2 certifi==2023.7.22 charset-normalizer==3.3.0 colorama==0.4.6 contourpy==1.1.1 coverage==7.3.2 cycler==0.12.1 fake-useragent==1.3.0 fonttools==4.43.1 idna==3.4 imageio==2.31.5 iniconfig==2.0.0 joblib==1.3.2 kiwisolver==1.4.5 lxml==4.9.3 markdown-it-py==3.0.0 matplotlib==3.8.0 mdurl==0.1.2 mpmath==1.3.0 numpy==1.26.1 oauthlib==3.2.2 opencv-python==4.8.1.78 packaging==23.2 pandas==2.1.1 patsy==0.5.3 Pillow==10.1.0 pluggy==1.3.0 Pygments==2.16.1 pyparsing==3.1.1 pytest==7.4.2 pytest-cov==4.1.0 python-dateutil==2.8.2 pytz==2023.3.post1 requests==2.31.0 requests-oauthlib==1.3.1 rich==13.6.0 scikit-learn==1.3.1 scipy==1.11.3 setuptools==68.0.0 six==1.16.0 soupsieve==2.5 statsmodels==0.14.0 sympy==1.12 threadpoolctl==3.2.0 tweepy==4.14.0 tzdata==2023.3 urllib3==2.0.6 wheel==0.37.1 xgboost==2.0.0
Expected behavior
I expect the instagram_crawler to fetch the Instagram user's information.
Actual behavior
It gives an errror while fetching user information. I have tested on Windows and Ubuntu both. It gives the same error.
I have tested that it goes executes both try
and except
blocks and fails in both of them.