diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 792e513..cc7c255 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -3,6 +3,8 @@ Changelog This changelog contains a list of versions with their respective high-level changes. +v0.4.1: + - specify window size for internal scraping v0.4.0: - added public scraping support - added geckodriver path for internal scraping diff --git a/README.rst b/README.rst index cdc95f4..7f66f9b 100644 --- a/README.rst +++ b/README.rst @@ -6,7 +6,7 @@ ALLRIS Scraper .. image:: https://img.shields.io/pypi/pyversions/twomartens.allrisscraper.svg :alt: Python 3.7 and 3.8 .. image:: https://img.shields.io/pypi/v/twomartens.allrisscraper.svg - :alt: version 0.4.0 + :alt: version 0.4.1 This scraper offers both public and private scraping. The latter requires your username and password and performs the following tasks for you: diff --git a/setup.py b/setup.py index 031fc5e..e4579fb 100644 --- a/setup.py +++ b/setup.py @@ -30,7 +30,7 @@ setup( author="Jim Martens", author_email="github@2martens.de", url="https://git.2martens.de/2martens/allris-scraper", - version="0.4.0", + version="0.4.1", namespace_packages=["twomartens"], packages=find_packages('src', exclude=["*.tests", "*.tests.*", "tests.*", "tests"]), package_dir={'': 'src'}, diff --git a/src/twomartens/allrisscraper/internal.py b/src/twomartens/allrisscraper/internal.py index 5aa2a29..f9b0fc7 100644 --- a/src/twomartens/allrisscraper/internal.py +++ b/src/twomartens/allrisscraper/internal.py @@ -51,6 +51,7 @@ def main(_) -> None: options.headless = True binary = FirefoxBinary(firefox_binary) driver = webdriver.Firefox(firefox_binary=binary, options=options, executable_path=geckodriver) + driver.set_window_size(1920, 1080) driver.delete_all_cookies() driver.implicitly_wait(5) driver.get(ALLRIS_LOGIN)