0

Simple Algorithm for Web scraping a users twitter profile using Python?

How do you use python to access the Twitter API and scrape a user's profile for specific information?

19th Nov 2016, 5:52 AM
Haris Riaz
Haris Riaz - avatar
1 Réponse
+ 2
You could use one of the following libraries: https://github.com/geduldig/TwitterAPI https://github.com/bear/JUMP_LINK__&&__python__&&__JUMP_LINK-twitter https://github.com/ryanmcgrath/twython Or write your own twitter parser using urllib2 and html.parser from the standart library or any other parser you choose. In the latter case you would have to write more code and fix it every time twitter changes the page structure. It's not about algorithm, it's more about just coding.
20th Nov 2016, 10:43 AM
donkeyhot
donkeyhot - avatar