pygetcomics 1.4.1__tar.gz → 1.4.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pygetcomics-1.4.1 → pygetcomics-1.4.2}/PKG-INFO +1 -1
- {pygetcomics-1.4.1 → pygetcomics-1.4.2}/berhoel/get_comics/gocomics/__init__.py +2 -1
- {pygetcomics-1.4.1 → pygetcomics-1.4.2}/pyproject.toml +1 -1
- {pygetcomics-1.4.1 → pygetcomics-1.4.2}/LICENSE +0 -0
- {pygetcomics-1.4.1 → pygetcomics-1.4.2}/README.rst +0 -0
- {pygetcomics-1.4.1 → pygetcomics-1.4.2}/berhoel/__init__.py +0 -0
- {pygetcomics-1.4.1 → pygetcomics-1.4.2}/berhoel/get_comics/__init__.py +0 -0
- {pygetcomics-1.4.1 → pygetcomics-1.4.2}/berhoel/get_comics/garfield/__init__.py +0 -0
- {pygetcomics-1.4.1 → pygetcomics-1.4.2}/berhoel/get_comics/gen_pdf/__init__.py +0 -0
- {pygetcomics-1.4.1 → pygetcomics-1.4.2}/berhoel/get_comics/gen_pdf/template/book.tex +0 -0
- {pygetcomics-1.4.1 → pygetcomics-1.4.2}/berhoel/get_comics/peanuts/__init__.py +0 -0
- {pygetcomics-1.4.1 → pygetcomics-1.4.2}/berhoel/get_comics/peanuts/clean_up.py +0 -0
- {pygetcomics-1.4.1 → pygetcomics-1.4.2}/berhoel/get_comics/peanuts/gen_book.py +0 -0
- {pygetcomics-1.4.1 → pygetcomics-1.4.2}/berhoel/get_comics/tests/test_get_comics.py +0 -0
|
@@ -25,6 +25,7 @@ from selenium import webdriver
|
|
|
25
25
|
from lxml.html import fromstring
|
|
26
26
|
from selenium.webdriver.common import action_chains
|
|
27
27
|
from selenium.webdriver.common.keys import Keys
|
|
28
|
+
|
|
28
29
|
# from selenium.webdriver.chrome.options import Options
|
|
29
30
|
from selenium.webdriver.firefox.options import Options
|
|
30
31
|
from selenium.webdriver.firefox.firefox_profile import FirefoxProfile
|
|
@@ -55,7 +56,7 @@ class SeleniumSingleton:
|
|
|
55
56
|
options.add_argument(
|
|
56
57
|
"--disable-gpu"
|
|
57
58
|
) # Last I checked this was necessary.
|
|
58
|
-
|
|
59
|
+
options.add_argument("--headless")
|
|
59
60
|
firefox_profile = FirefoxProfile()
|
|
60
61
|
firefox_profile.set_preference("javascript.enabled", True)
|
|
61
62
|
options.profile = firefox_profile
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|