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 784a115

Browse files
Making README.md more readable.
1 parent c12ed9e commit 784a115

File tree

1 file changed

+24
-7
lines changed

1 file changed

+24
-7
lines changed
Lines changed: 24 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,40 @@
1-
Codechef Scraper
1+
# Codechef Scraper
22
This python script will let the user to scrape 'n' number of codechef problems from any category/difficulty in https://www.codechef.com/ ,as provided by the user. The functionality of the script is to gain the information regarding particular codechef problem in different PDFs.
33

44

5-
Prerequisite Steps:
5+
## Prerequisite Steps:
66
Download the required packages from the following command in you terminal.(Make sure you're in the same project directory)
7+
8+
```
79
pip3 install -r requirements.txt
810
9-
To run this script,you need to have selenium installed and configure webdriver to use chrome browser.You can directly download chrome driver from the link below-
11+
```
12+
13+
To run this script,you need to have selenium installed and configure webdriver to use chrome browser in your`$PATH`.You can directly download chrome driver from the link below-
1014
https://chromedriver.chromium.org/downloads
1115
Further,you can set the path to chromedriver using
12-
driver= webdriver.chrome("/usr/lib/chromium-browser/chromedriver")
1316

14-
Running the script:
17+
```
18+
driver = webdriver.chrome("/usr/lib/chromium-browser/chromedriver")
19+
20+
```
21+
22+
23+
24+
## Running the script:
1525
After installing all the requirements,run this command in your terminal.
26+
27+
```
1628
python3 codechef.py
1729
18-
Output:
30+
```
31+
32+
## Output:
1933
This script will generate 'n' number of different PDFs in a folder to store the problem information (problem title,problem statement,test cases) separately.
2034

35+
https://user-images.githubusercontent.com/30191221/113629602-46a4ff80-9684-11eb-8938-c6e8f934d3ae.png
36+
37+
https://user-images.githubusercontent.com/30191221/113629697-64726480-9684-11eb-9d14-3b1ac515d40e.png
2138

2239
Author:
23-
Smriti Raina [https://github.com/smriti26raina]
40+
[Smriti Raina](https://github.com/smriti26raina)

0 commit comments

Comments
(0)

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