Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

History

History
History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..

README.md

Outline

Dev.to Scrapper

Running this Script would allow the user to scrape any number of articles from dev.to from any category as per the user's choice

Setup instructions

In order to run this script, you need to have Python and pip installed on your system. After you're done installing Python and pip, run the following command from your terminal to install the requirements from the same folder (directory) of the project.

pip install -r requirements.txt

As this script uses selenium, you will need to install the chrome webdriver from this link

After satisfying all the requirements for the project, Open the terminal in the project folder and run

python scraper.py

or

python3 scraper.py

depending upon the python version. Make sure that you are running the command from the same virtual environment in which the required modules are installed.

Output

The user needs to enter Category and Number of articles User is asked for input

The scraped pdf files get saved in the folder in which the script is run Files saved in folder

Author

Ayush Jain

Morty Proxy This is a proxified and sanitized view of the page, visit original site.