shaikhsajid1111 / twitter-scraper-selenium

Python's package to scrap Twitter's front-end easily
https://pypi.org/project/twitter-scraper-selenium
MIT License
323 stars 50 forks source link

README.MD error within oistallation by pip #9

Open hdaipteam opened 2 years ago

hdaipteam commented 2 years ago

Hello,

I got that installation error with

pip install twitter-scraper-selenium

Error: Collecting twitter-scraper-selenium Using cached twitter_scraper_selenium-0.1.3.tar.gz (14 kB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [6 lines of output] Traceback (most recent call last): File "", line 2, in File "", line 34, in File "/tmp/pip-install-sw0o3qs2/twitter-scraper-selenium_e1bf4012aa9340ebaba22e04e0ba72df/setup.py", line 3, in with open("README.MD", "r") as file: FileNotFoundError: [Errno 2] No such file or directory: 'README.MD' [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed

× Encountered error while generating package metadata. ╰─> See above for output.

note: This is an issue with the package mentioned above, not pip. hint: See above for details.

It will be fine if you checke coding and integration of README.MD. Also the standard is README.md [----> non capital letters of extension *.md].

shaikhsajid1111 commented 2 years ago

Thank you @hdaipteam for creating this issue. It happened with my windows machine as well, I've made a few changes to fix it

hdaipteam commented 2 years ago

Great and thanks for the tool set,

Small typo in README.md:

microsoft = scrap_profile(twitter_username="microsoft",output_format="json",browser="firefox",posts_count=10)

The parameter ist tweets_count = 10 instead of posts_count=10

;-)

shaikhsajid1111 commented 2 years ago

Yeah, Thanks again for pointing that out😅