+ 1

How can get data from a web?

in comon method to get data from a website, we get all of text from a web, but how can get specific data(like number of view, data, time, temperature, and ...)? ? how should we write code to find or achieve specific data?

5th Apr 2017, 7:19 AM
hamid
hamid - avatar
3 Answers
+ 11
beautifulsoup or selenium
5th Apr 2017, 9:05 AM
Ahri Fox
Ahri Fox - avatar
+ 5
Yes, beautifulsoup is great. You might also try scrapy module - gets the job done, as well.
5th Apr 2017, 10:14 AM
Kuba SiekierzyƄski
Kuba SiekierzyƄski - avatar
+ 1
a simple example please
5th Apr 2017, 10:32 AM
hamid
hamid - avatar