abstract-webtools 0.1.6.99__tar.gz → 0.1.6.101__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.
- {abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/PKG-INFO +1 -1
- {abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/setup.py +1 -1
- {abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/src/abstract_webtools/k2s_downloader.py +4 -3
- {abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/src/abstract_webtools.egg-info/PKG-INFO +1 -1
- {abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/README.md +0 -0
- {abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/pyproject.toml +0 -0
- {abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/setup.cfg +0 -0
- {abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/src/abstract_webtools/__init__.py +0 -0
- {abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/src/abstract_webtools/abstract_usurpit.py +0 -0
- {abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/src/abstract_webtools/abstract_webtools.py +0 -0
- {abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/src/abstract_webtools/big_user_agent_list.py +0 -0
- {abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/src/abstract_webtools/domain_identifier.py +0 -0
- {abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/src/abstract_webtools/extention_list.py +0 -0
- {abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/src/abstract_webtools/find_dirs.py +0 -0
- {abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/src/abstract_webtools/main.py +0 -0
- {abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/src/abstract_webtools/managers/__init__.py +0 -0
- {abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/src/abstract_webtools/managers/allss//.py" +0 -0
- {abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/src/abstract_webtools/managers/cipherManager.py +0 -0
- {abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/src/abstract_webtools/managers/crawlManager.py +0 -0
- {abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/src/abstract_webtools/managers/crawlmgr2.py +0 -0
- {abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/src/abstract_webtools/managers/curlMgr.py +0 -0
- {abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/src/abstract_webtools/managers/domainManager.py +0 -0
- {abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/src/abstract_webtools/managers/dynamicRateLimiter.py +0 -0
- {abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/src/abstract_webtools/managers/get_test.py +0 -0
- {abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/src/abstract_webtools/managers/linkManager/__init__.py +0 -0
- {abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/src/abstract_webtools/managers/linkManager/linkManager.py +0 -0
- {abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/src/abstract_webtools/managers/mySocketClient.py +0 -0
- {abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/src/abstract_webtools/managers/networkManager.py +0 -0
- {abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/src/abstract_webtools/managers/requestManager/__init__.py +0 -0
- {abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/src/abstract_webtools/managers/requestManager/requestManager.py +0 -0
- {abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/src/abstract_webtools/managers/seleniumManager.py +0 -0
- {abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/src/abstract_webtools/managers/soupManager/__init__.py +0 -0
- {abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/src/abstract_webtools/managers/soupManager/asoueces.py +0 -0
- {abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/src/abstract_webtools/managers/soupManager/soupManager.py +0 -0
- {abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/src/abstract_webtools/managers/sslManager.py +0 -0
- {abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/src/abstract_webtools/managers/tlsAdapter.py +0 -0
- {abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/src/abstract_webtools/managers/urlManager/__init__.py +0 -0
- {abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/src/abstract_webtools/managers/urlManager/urlManager.py +0 -0
- {abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/src/abstract_webtools/managers/userAgentManager.py +0 -0
- {abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/src/abstract_webtools/managers/videoDownloader.py +0 -0
- {abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/src/abstract_webtools/managers/videoDownloader2.py +0 -0
- {abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/src/abstract_webtools/soup_gui.py +0 -0
- {abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/src/abstract_webtools/url_grabber.py +0 -0
- {abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/src/abstract_webtools/url_grabber_new.py +0 -0
- {abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/src/abstract_webtools.egg-info/SOURCES.txt +0 -0
- {abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/src/abstract_webtools.egg-info/dependency_links.txt +0 -0
- {abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/src/abstract_webtools.egg-info/requires.txt +0 -0
- {abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/src/abstract_webtools.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: abstract_webtools
|
3
|
-
Version: 0.1.6.
|
3
|
+
Version: 0.1.6.101
|
4
4
|
Summary: Abstract Web Tools is a Python package that provides various utility functions for web scraping tasks. It is built on top of popular libraries such as `requests`, `BeautifulSoup`, and `urllib3` to simplify the process of fetching and parsing web content.
|
5
5
|
Home-page: https://github.com/AbstractEndeavors/abstract_essentials/tree/main/abstract_webtools
|
6
6
|
Author: putkoff
|
@@ -4,7 +4,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
|
|
4
4
|
long_description = fh.read()
|
5
5
|
setuptools.setup(
|
6
6
|
name='abstract_webtools',
|
7
|
-
version='0.1.6.
|
7
|
+
version='0.1.6.101',
|
8
8
|
author='putkoff',
|
9
9
|
author_email='partners@abstractendeavors.com',
|
10
10
|
description='Abstract Web Tools is a Python package that provides various utility functions for web scraping tasks. It is built on top of popular libraries such as `requests`, `BeautifulSoup`, and `urllib3` to simplify the process of fetching and parsing web content.',
|
{abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/src/abstract_webtools/k2s_downloader.py
RENAMED
@@ -12,9 +12,10 @@ from selenium.webdriver.support import expected_conditions as EC
|
|
12
12
|
from abstract_security import *
|
13
13
|
from abstract_webtools import *
|
14
14
|
DOWNLOAD_DIR = os.path.abspath("./downloads")
|
15
|
-
os.makedirs(DOWNLOAD_DIR, exist_ok=True)
|
16
15
|
class K2SDownloader:
|
17
|
-
def __init__(self,env_path=None):
|
16
|
+
def __init__(self,env_path=None,download_dir=None):
|
17
|
+
self.download_dir = download_dir or DOWNLOAD_DIR
|
18
|
+
os.makedirs(self.download_dir, exist_ok=True)
|
18
19
|
self.env_path = env_path
|
19
20
|
self.session = requests.Session()
|
20
21
|
self.session.headers.update({
|
@@ -75,7 +76,7 @@ class K2SDownloader:
|
|
75
76
|
if download_url:
|
76
77
|
response = self.session.get(download_url, stream=True)
|
77
78
|
file_name = self._extract_filename(response, download_url)
|
78
|
-
file_path = os.path.join(
|
79
|
+
file_path = os.path.join(self.download_dir, file_name)
|
79
80
|
|
80
81
|
with open(file_path, 'wb') as f:
|
81
82
|
for chunk in response.iter_content(chunk_size=8192):
|
{abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/src/abstract_webtools.egg-info/PKG-INFO
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: abstract_webtools
|
3
|
-
Version: 0.1.6.
|
3
|
+
Version: 0.1.6.101
|
4
4
|
Summary: Abstract Web Tools is a Python package that provides various utility functions for web scraping tasks. It is built on top of popular libraries such as `requests`, `BeautifulSoup`, and `urllib3` to simplify the process of fetching and parsing web content.
|
5
5
|
Home-page: https://github.com/AbstractEndeavors/abstract_essentials/tree/main/abstract_webtools
|
6
6
|
Author: putkoff
|
File without changes
|
File without changes
|
File without changes
|
{abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/src/abstract_webtools/__init__.py
RENAMED
File without changes
|
{abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/src/abstract_webtools/abstract_usurpit.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/src/abstract_webtools/extention_list.py
RENAMED
File without changes
|
{abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/src/abstract_webtools/find_dirs.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/src/abstract_webtools/managers/curlMgr.py
RENAMED
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
|
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
|
{abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/src/abstract_webtools/soup_gui.py
RENAMED
File without changes
|
{abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/src/abstract_webtools/url_grabber.py
RENAMED
File without changes
|
{abstract_webtools-0.1.6.99 → abstract_webtools-0.1.6.101}/src/abstract_webtools/url_grabber_new.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|