Skip to content

Commit a086be2

Browse files
authored
Resolved minor bugs
1 parent d09eab2 commit a086be2

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Coderforces_Problem_Scrapper/Codeforces_problem_scrapper.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,14 @@
33
from PIL import Image
44
from fpdf import FPDF # For converting images to pdf
55

6-
DRIVER_PATH = ''
7-
86

97
def select_difficulty():
108
"""
119
This function will let user to choose the difficulty level
1210
:return: difficulty_level[]
1311
"""
1412
difficulty_level = []
15-
print("\nEnter the Range between 800 to 3500: ")
13+
print("\nEnter 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

0 commit comments

Comments
 (0)