What is Web Scraping?
- Requirement
Install Python 2.7 or Python 3.4 or above. Here is the link for downloading python Python Link.
- Install Scrapy
Open your command prompt or terminal and type,pip install scrapy
-
Scrapy ShellScrapy has a ScrapyShell which can be used for testing or debugging your code and you can also scrape the URLs from here. So, once you have successfully installed Scrapy, just write in your command prompt or Terminal -scrapy shell

-
FetchOnce ScrapyShell is started successfully, we can start scraping. Fetch is going to request the response and scrape the data. For now, I am going to take my friend's website "ugentertainment.in".fetch("http://ugentertainment.in/")

- View
The view will open the response in your default browser.view(response)
and the scraped website will open in the default browser and you can compare the original website and scraped website.
Scaped Website
Original Website


And you are done with scraping your first website using Scrapy.
Sagar Pandurang KapPosted Feb 14, 2018, 2:52 AM
Thats awesome.Keep sharing......