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 5033868

Browse files
style: format code with autopep8
Format code with autopep8 This commit fixes the style issues introduced in 609c48c according to the output from Autopep8. Details: https://app.deepsource.com/gh/avinashkranjan/Amazing-Python-Scripts/transform/59993301-c517-4a5e-8c7b-2e02fca89404/
1 parent 8996fff commit 5033868

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎GeeksForGeeks_Article_Downloader/geeksforgeeks_article_downloader.py‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ def get_html(url):
1414
options = webdriver.ChromeOptions()
1515
# True is required for taking the screenshot with scroll.
1616
options.headless = True
17-
driver = webdriver.Chrome(r"chromedriver_win32\chromedriver.exe", options=options)
17+
driver = webdriver.Chrome(
18+
r"chromedriver_win32\chromedriver.exe", options=options)
1819
driver.get(url) # url is passes
1920
required_height = driver.execute_script(
2021
"return document.body.parentNode.scrollHeight"
@@ -52,4 +53,4 @@ def convert_image_to_pdf(path):
5253
if not url.startswith(("http://", "https://")):
5354
url = "https://" + url
5455
get_html(url)
55-
os.remove("image.png")
56+
os.remove("image.png")

0 commit comments

Comments
(0)

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