What is Web Scraping? How it is achieved in Python? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 64

What is Web Scraping? How it is achieved in Python?

Is there any libraries for web scraping??

8th Dec 2017, 12:59 PM
Abhivarshini Maddala
Abhivarshini Maddala - avatar
47 Answers
+ 41
Be careful about diving into web scraping. Unless you tread carefully, your IP could get blocked. https://www.scrapehero.com/how-to-prevent-getting-blacklisted-while-scraping/
9th Dec 2017, 6:43 AM
David Ashton
David Ashton - avatar
+ 24
technique that is used by means of software programs to extract information from websites. Normally, these programs simulate the navigation of a human on the World Wide Web either by using the HTTP protocol manually, or by embedding a browser in an application. I hope this article serves you: https://www.google.com.ni/amp/www.dataquest.io/blog/web-scraping-tutorial-JUMP_LINK__&&__python__&&__JUMP_LINK/amp/
9th Dec 2017, 5:26 AM
Norman Raiti Valenzuela Zavala
Norman Raiti Valenzuela Zavala - avatar
+ 17
Web scraping is used for gathering public information from web pages for further analyses and store, like e-mails, phone numbers, or some specific data e.g. likes, views, etc. urllib/urllib2 or Requests are python libraries that allow you to send organic HTTP requests, without the need for manual labor. Also you need tools for parsing an HTML, those are: BeatifulSoup, lxml
9th Dec 2017, 1:08 PM
Andrey😎
Andrey😎 - avatar
+ 15
@Madhuri Bhamari There are no prerequisites for learning Python. Just open the course and start! 😉 https://www.sololearn.com/Course/Python/?ref=app
9th Dec 2017, 9:06 AM
David Ashton
David Ashton - avatar
+ 13
how to scrap facebook.com all my friends mobile number using python web scrapping
17th May 2018, 8:17 PM
Ratnapal Shende
Ratnapal Shende - avatar
+ 12
Web scrapping is collecting data from websites. You can use Scrapy. It is an open source and collaborative framework for collecting data. LINK: https://scrapy.org
9th Dec 2017, 2:00 AM
Dhritiman Roy
Dhritiman Roy - avatar
+ 12
This technique mostly focuses on the transformation of unstructured data (HTML format) on the web into structured data (database or spreadsheet). You can perform webscrapping in various ways, including use of Google Docs to almost every programming language.
9th Dec 2017, 4:13 AM
raveena kagne
raveena kagne - avatar
+ 9
Any type of information??! What about private info?
8th Dec 2017, 7:31 PM
Rayane
Rayane - avatar
+ 8
Seems interesting :3
8th Dec 2017, 9:25 PM
Rayane
Rayane - avatar
+ 8
Selenium is another Python library for webscraping. urllib or beautiful soup are great for smaller things especially getting text from non-changing websites (and those libraries do a better job than selenium at the simple stuff) But if you want something a bit more dynamic; meaning maybe you want to click some things or login and Then grab some text from the web page, thats when you might want to use selenium.
11th Dec 2017, 5:03 AM
Jeff Hykin
Jeff Hykin - avatar
+ 7
urllib2 and beutifulsoap libraries used in Python to get data from web
9th Dec 2017, 2:18 AM
Nilavarasan
Nilavarasan  - avatar
+ 6
Web scraping also known as screen parsing and there is modules in python for the web scraping a lot of modules are used but web scraping means accessing the web from python and searching the main info.
11th Dec 2017, 1:49 PM
nouha coding girl
nouha coding girl - avatar
+ 5
please tell me prerequisites for learning python.
8th Dec 2017, 11:19 PM
Madhuri Bhamare
+ 4
Scraping parses the web content. Sounds like your using an http command like a cgi command line or asp query the website does not support like running dynamic query against a static resource.
10th Dec 2017, 12:08 PM
Paul Thomas
+ 4
i was looking for these answers and here they a are
12th Dec 2017, 2:35 AM
Suyash Purwar
Suyash Purwar - avatar
+ 4
is this illegal
13th Dec 2017, 9:42 PM
Scott Whitby
Scott Whitby - avatar
13th Dec 2017, 11:40 PM
David Ashton
David Ashton - avatar
+ 3
Python can be used for hacking a😀
8th Dec 2017, 9:13 PM
Rocky Rodrigues
Rocky Rodrigues - avatar
+ 3
You can hack using python
9th Dec 2017, 12:11 AM
Forest137 _
Forest137 _ - avatar
+ 3
use beautiful soup
11th Dec 2017, 12:21 PM
deepika
deepika - avatar