Skip to content

A simple webscraper made in python that I made for a very specific purpose. Add links of lenskart products to the 'links' text file and It'll create a csv file of the products.

License

Notifications You must be signed in to change notification settings

Luckyseer/Lenskart-scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lenskart-scraper

A simple webscraper made in python that I made for a very specific purpose. Add links of lenskart products to the 'links' text file and It'll create a csv file of the products. You can also get the images of products if needed.

Dependancies

You'll need Python and Beautiful soup to run this You will also need selenium for downloading the images(optional) along with having firefox installed with geckodriver in PATH.

How To Use

Enter links of lenskart products into the links.txt folder(make sure not to leave any whitespace) Run main.py and wait for the links to finish being scraped. Open the output CSV file and enjoy. Run imgdownloader to download images from the links(of the products). You need to download firefox and have geckodriver in PATH for it to work.

Images

Screenshot Screenshot2

About

A simple webscraper made in python that I made for a very specific purpose. Add links of lenskart products to the 'links' text file and It'll create a csv file of the products.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages