File tree 1 file changed +2
-4
lines changed
Coderforces_Problem_Scrapper
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 3
3
from PIL import Image
4
4
from fpdf import FPDF # For converting images to pdf
5
5
6
- DRIVER_PATH = ''
7
-
8
6
9
7
def select_difficulty ():
10
8
"""
11
9
This function will let user to choose the difficulty level
12
10
:return: difficulty_level[]
13
11
"""
14
12
difficulty_level = []
15
- print ("\n Enter the Range between 800 to 3500: " )
13
+ print ("\n Enter the Range of difficulty between 800 to 3500: " )
16
14
difficulty_level .append (int (input ("Min: " )))
17
15
difficulty_level .append (int (input ("Max: " )))
18
16
@@ -110,7 +108,7 @@ def getproblem(URLs):
110
108
path = 'image.png'
111
109
112
110
# Creating a Target Output Folder
113
- target_folder = './problems_pdf'
111
+ target_folder = './Coderforces_Problem_Scrapper/ problems_pdf'
114
112
if not os .path .exists (target_folder ):
115
113
os .makedirs (target_folder )
116
114
You can’t perform that action at this time.
0 commit comments