From d8a85d361e3da541baf6e0d2d7d80d945e6b8818 Mon Sep 17 00:00:00 2001 From: g1879 Date: Fri, 22 Dec 2023 22:10:00 +0800 Subject: [PATCH] 4.0.0b28 --- DrissionPage/__init__.py | 2 +- DrissionPage/_base/browser.py | 2 +- DrissionPage/_units/cookies_setter.py | 4 ++++ DrissionPage/_units/scroller.py | 4 ++++ setup.py | 2 +- 5 files changed, 11 insertions(+), 3 deletions(-) diff --git a/DrissionPage/__init__.py b/DrissionPage/__init__.py index ee8436a..5ee4cc9 100644 --- a/DrissionPage/__init__.py +++ b/DrissionPage/__init__.py @@ -13,4 +13,4 @@ from ._configs.chromium_options import ChromiumOptions from ._configs.session_options import SessionOptions __all__ = ['ChromiumPage', 'ChromiumOptions', 'SessionOptions', 'SessionPage', 'WebPage', '__version__'] -__version__ = '4.0.0b27' +__version__ = '4.0.0b28' diff --git a/DrissionPage/_base/browser.py b/DrissionPage/_base/browser.py index bf6c54b..881b794 100644 --- a/DrissionPage/_base/browser.py +++ b/DrissionPage/_base/browser.py @@ -5,10 +5,10 @@ """ from time import sleep, perf_counter -from errors import PageClosedError from .driver import BrowserDriver, Driver from .._functions.tools import stop_process_on_port, raise_error from .._units.downloader import DownloadManager +from ..errors import PageClosedError __ERROR__ = 'error' diff --git a/DrissionPage/_units/cookies_setter.py b/DrissionPage/_units/cookies_setter.py index 160077e..e22878a 100644 --- a/DrissionPage/_units/cookies_setter.py +++ b/DrissionPage/_units/cookies_setter.py @@ -1,4 +1,8 @@ # -*- coding:utf-8 -*- +""" +@Author : g1879 +@Contact : g1879@qq.com +""" from http.cookiejar import Cookie from .._functions.web import set_browser_cookies, set_session_cookies diff --git a/DrissionPage/_units/scroller.py b/DrissionPage/_units/scroller.py index 1a67c4c..6e3606e 100644 --- a/DrissionPage/_units/scroller.py +++ b/DrissionPage/_units/scroller.py @@ -1,4 +1,8 @@ # -*- coding:utf-8 -*- +""" +@Author : g1879 +@Contact : g1879@qq.com +""" from time import sleep, perf_counter diff --git a/setup.py b/setup.py index a21ad1c..0a417d0 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ with open("README.md", "r", encoding='utf-8') as fh: setup( name="DrissionPage", - version="4.0.0b27", + version="4.0.0b28", author="g1879", author_email="g1879@qq.com", description="Python based web automation tool. It can control the browser and send and receive data packets.",