You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Save any Problem Statement you like from Codeforces as a PDF.
2
+
3
+
This python script will let you download Problem Statements from Codeforces and save them as a pdf file. The script uses Selenium Webdriver and fpdf library. Selenium is used with Chrome Webdriver, so having Chrome browser is a requirement.
4
+
5
+
## Setting up:
6
+
7
+
- Create a virtual environment and activate it.
8
+
9
+
- Install the requirements
10
+
11
+
```sh
12
+
$ pip install -r requirements.txt
13
+
```
14
+
15
+
## Running the script:
16
+
17
+
```sh
18
+
$ python Codeforces_problem_scrapper.py
19
+
```
20
+
21
+
## Terminal Screenshot:
22
+
23
+

24
+
25
+
The program will ask you to enter:
26
+
1. Valid Problem ID.
27
+
2. Valid Difficulty Level.
28
+
3. filename(without '.pdf'). The pdf will be created in the same folder.
0 commit comments