File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Coderforces_Problem_Scrapper Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 33from PIL import Image
44from fpdf import FPDF # For converting images to pdf
55
6- DRIVER_PATH = ''
7-
86
97def select_difficulty ():
108 """
119 This function will let user to choose the difficulty level
1210 :return: difficulty_level[]
1311 """
1412 difficulty_level = []
15- print ("\n Enter the Range between 800 to 3500: " )
13+ print ("\n Enter the Range of difficulty between 800 to 3500: " )
1614 difficulty_level .append (int (input ("Min: " )))
1715 difficulty_level .append (int (input ("Max: " )))
1816
@@ -110,7 +108,7 @@ def getproblem(URLs):
110108 path = 'image.png'
111109
112110 # Creating a Target Output Folder
113- target_folder = './problems_pdf'
111+ target_folder = './Coderforces_Problem_Scrapper/ problems_pdf'
114112 if not os .path .exists (target_folder ):
115113 os .makedirs (target_folder )
116114
You can’t perform that action at this time.
0 commit comments