Skip to content

kimgea/twitter_scraper_selenium

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

twitter_scraper_selenium

Scrape twitter user info, friendshio and tweets by using selenium. Twitter api is not used.

This project is ment as a exercise to learn a little about selenium scraping.

Not finished, but you can get it to work

SETUP:

  • Need cromdriver.exe and place it wherever it should for your OS. In windows: "C:\Python27\Scripts" Folder.
  • Create db tables. sbot.twitter.screaper.db.sql_create.txt should work. Not fully tested
  • Set get_twitter_scraper_database_string in config.py
  • Use methods in sbot.twitter.screaper.controller.scrape.py to scrape information

WARNING:

  • robot.txt is not followed, this project was only ment as a small scale test
  • Exessive use of this project might get you ip banned from twitter for a period bacause it dos not follow robot.txt
    • This might be avoided by adding a few lines to make selenium use diferetn proxies, but exessive scraping of twitter is not the meaning of this project.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages