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

Sign up
Appearance settings

Commit 3b066c8

Browse files
Readme file added
1 parent 3b2ecb0 commit 3b066c8

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

‎Hashnode-Scraper/README.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Hashnode Scrapper
2+
Running this Script would allow the user to scrape any number of blogs from [hashnode.com](https://hashnode.com/) from any category as per the user's choice
3+
4+
## Setup instructions
5+
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.
6+
```
7+
pip install -r requirements.txt
8+
```
9+
As this script uses selenium, you will need to install the chrome webdriver from [this link](https://sites.google.com/a/chromium.org/chromedriver/downloads)
10+
11+
After satisfying all the requirements for the project, Open the terminal in the project folder and run
12+
```
13+
python scraper.py
14+
```
15+
or
16+
```
17+
python3 scraper.py
18+
```
19+
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.
20+
21+
## Output
22+
The user needs to enter Category and Number of blogs to scrape
23+
24+
![User is asked for input](https://i.postimg.cc/hjRhJvVt/hashnode1.png)
25+
26+
The scraped pdf files get saved in the folder in which the script is run
27+
28+
![Files saved in folder](https://i.postimg.cc/90FmT70C/hashnode2.png)
29+
30+
## Author
31+
[Ayush Jain](https://github.com/Ayushjain2205)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /