mirror of
https://github.com/bellingcat/auto-archiver.git
synced 2026-06-13 13:48:28 +03:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8624e9f177 | ||
|
|
381940f5a8 |
1289
Pipfile.lock
generated
1289
Pipfile.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -65,6 +65,9 @@ class UrlUtil:
|
|||||||
if "vk.com/images/" in url: return False
|
if "vk.com/images/" in url: return False
|
||||||
if "vk.com/images/reaction/" in url: return False
|
if "vk.com/images/reaction/" in url: return False
|
||||||
|
|
||||||
|
# wikipedia
|
||||||
|
if "wikipedia.org/static" in url: return False
|
||||||
|
|
||||||
return True
|
return True
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ class Webdriver:
|
|||||||
|
|
||||||
def __enter__(self) -> webdriver:
|
def __enter__(self) -> webdriver:
|
||||||
options = webdriver.FirefoxOptions()
|
options = webdriver.FirefoxOptions()
|
||||||
options.headless = True
|
options.add_argument("--headless")
|
||||||
options.set_preference('network.protocol-handler.external.tg', False)
|
options.set_preference('network.protocol-handler.external.tg', False)
|
||||||
try:
|
try:
|
||||||
self.driver = webdriver.Firefox(options=options)
|
self.driver = webdriver.Firefox(options=options)
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
|
|
||||||
_MAJOR = "0"
|
_MAJOR = "0"
|
||||||
_MINOR = "6"
|
_MINOR = "7"
|
||||||
# On main and in a nightly release the patch should be one ahead of the last
|
# On main and in a nightly release the patch should be one ahead of the last
|
||||||
# released build.
|
# released build.
|
||||||
_PATCH = "13"
|
_PATCH = "1"
|
||||||
# This is mainly for nightly builds which have the suffix ".dev$DATE". See
|
# This is mainly for nightly builds which have the suffix ".dev$DATE". See
|
||||||
# https://semver.org/#is-v123-a-semantic-version for the semantics.
|
# https://semver.org/#is-v123-a-semantic-version for the semantics.
|
||||||
_SUFFIX = ""
|
_SUFFIX = ""
|
||||||
|
|||||||
Reference in New Issue
Block a user