abstract-webtools 0.1.6.106__tar.gz → 0.1.6.108__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.106 → abstract_webtools-0.1.6.108}/PKG-INFO +1 -1
- {abstract_webtools-0.1.6.106 → abstract_webtools-0.1.6.108}/setup.py +1 -1
- {abstract_webtools-0.1.6.106 → abstract_webtools-0.1.6.108}/src/abstract_webtools/k2s_downloader.py +9 -17
- {abstract_webtools-0.1.6.106 → abstract_webtools-0.1.6.108}/src/abstract_webtools.egg-info/PKG-INFO +1 -1
- {abstract_webtools-0.1.6.106 → abstract_webtools-0.1.6.108}/README.md +0 -0
- {abstract_webtools-0.1.6.106 → abstract_webtools-0.1.6.108}/pyproject.toml +0 -0
- {abstract_webtools-0.1.6.106 → abstract_webtools-0.1.6.108}/setup.cfg +0 -0
- {abstract_webtools-0.1.6.106 → abstract_webtools-0.1.6.108}/src/abstract_webtools/__init__.py +0 -0
- {abstract_webtools-0.1.6.106 → abstract_webtools-0.1.6.108}/src/abstract_webtools/abstract_usurpit.py +0 -0
- {abstract_webtools-0.1.6.106 → abstract_webtools-0.1.6.108}/src/abstract_webtools/abstract_webtools.py +0 -0
- {abstract_webtools-0.1.6.106 → abstract_webtools-0.1.6.108}/src/abstract_webtools/big_user_agent_list.py +0 -0
- {abstract_webtools-0.1.6.106 → abstract_webtools-0.1.6.108}/src/abstract_webtools/domain_identifier.py +0 -0
- {abstract_webtools-0.1.6.106 → abstract_webtools-0.1.6.108}/src/abstract_webtools/extention_list.py +0 -0
- {abstract_webtools-0.1.6.106 → abstract_webtools-0.1.6.108}/src/abstract_webtools/find_dirs.py +0 -0
- {abstract_webtools-0.1.6.106 → abstract_webtools-0.1.6.108}/src/abstract_webtools/main.py +0 -0
- {abstract_webtools-0.1.6.106 → abstract_webtools-0.1.6.108}/src/abstract_webtools/managers/__init__.py +0 -0
- {abstract_webtools-0.1.6.106 → abstract_webtools-0.1.6.108}/src/abstract_webtools/managers/allss//.py" +0 -0
- {abstract_webtools-0.1.6.106 → abstract_webtools-0.1.6.108}/src/abstract_webtools/managers/cipherManager.py +0 -0
- {abstract_webtools-0.1.6.106 → abstract_webtools-0.1.6.108}/src/abstract_webtools/managers/crawlManager.py +0 -0
- {abstract_webtools-0.1.6.106 → abstract_webtools-0.1.6.108}/src/abstract_webtools/managers/crawlmgr2.py +0 -0
- {abstract_webtools-0.1.6.106 → abstract_webtools-0.1.6.108}/src/abstract_webtools/managers/curlMgr.py +0 -0
- {abstract_webtools-0.1.6.106 → abstract_webtools-0.1.6.108}/src/abstract_webtools/managers/domainManager.py +0 -0
- {abstract_webtools-0.1.6.106 → abstract_webtools-0.1.6.108}/src/abstract_webtools/managers/dynamicRateLimiter.py +0 -0
- {abstract_webtools-0.1.6.106 → abstract_webtools-0.1.6.108}/src/abstract_webtools/managers/get_test.py +0 -0
- {abstract_webtools-0.1.6.106 → abstract_webtools-0.1.6.108}/src/abstract_webtools/managers/linkManager/__init__.py +0 -0
- {abstract_webtools-0.1.6.106 → abstract_webtools-0.1.6.108}/src/abstract_webtools/managers/linkManager/linkManager.py +0 -0
- {abstract_webtools-0.1.6.106 → abstract_webtools-0.1.6.108}/src/abstract_webtools/managers/mySocketClient.py +0 -0
- {abstract_webtools-0.1.6.106 → abstract_webtools-0.1.6.108}/src/abstract_webtools/managers/networkManager.py +0 -0
- {abstract_webtools-0.1.6.106 → abstract_webtools-0.1.6.108}/src/abstract_webtools/managers/requestManager/__init__.py +0 -0
- {abstract_webtools-0.1.6.106 → abstract_webtools-0.1.6.108}/src/abstract_webtools/managers/requestManager/requestManager.py +0 -0
- {abstract_webtools-0.1.6.106 → abstract_webtools-0.1.6.108}/src/abstract_webtools/managers/seleniumManager.py +0 -0
- {abstract_webtools-0.1.6.106 → abstract_webtools-0.1.6.108}/src/abstract_webtools/managers/soupManager/__init__.py +0 -0
- {abstract_webtools-0.1.6.106 → abstract_webtools-0.1.6.108}/src/abstract_webtools/managers/soupManager/asoueces.py +0 -0
- {abstract_webtools-0.1.6.106 → abstract_webtools-0.1.6.108}/src/abstract_webtools/managers/soupManager/soupManager.py +0 -0
- {abstract_webtools-0.1.6.106 → abstract_webtools-0.1.6.108}/src/abstract_webtools/managers/sslManager.py +0 -0
- {abstract_webtools-0.1.6.106 → abstract_webtools-0.1.6.108}/src/abstract_webtools/managers/tlsAdapter.py +0 -0
- {abstract_webtools-0.1.6.106 → abstract_webtools-0.1.6.108}/src/abstract_webtools/managers/urlManager/__init__.py +0 -0
- {abstract_webtools-0.1.6.106 → abstract_webtools-0.1.6.108}/src/abstract_webtools/managers/urlManager/urlManager.py +0 -0
- {abstract_webtools-0.1.6.106 → abstract_webtools-0.1.6.108}/src/abstract_webtools/managers/userAgentManager.py +0 -0
- {abstract_webtools-0.1.6.106 → abstract_webtools-0.1.6.108}/src/abstract_webtools/managers/videoDownloader.py +0 -0
- {abstract_webtools-0.1.6.106 → abstract_webtools-0.1.6.108}/src/abstract_webtools/managers/videoDownloader2.py +0 -0
- {abstract_webtools-0.1.6.106 → abstract_webtools-0.1.6.108}/src/abstract_webtools/soup_gui.py +0 -0
- {abstract_webtools-0.1.6.106 → abstract_webtools-0.1.6.108}/src/abstract_webtools/url_grabber.py +0 -0
- {abstract_webtools-0.1.6.106 → abstract_webtools-0.1.6.108}/src/abstract_webtools/url_grabber_new.py +0 -0
- {abstract_webtools-0.1.6.106 → abstract_webtools-0.1.6.108}/src/abstract_webtools.egg-info/SOURCES.txt +0 -0
- {abstract_webtools-0.1.6.106 → abstract_webtools-0.1.6.108}/src/abstract_webtools.egg-info/dependency_links.txt +0 -0
- {abstract_webtools-0.1.6.106 → abstract_webtools-0.1.6.108}/src/abstract_webtools.egg-info/requires.txt +0 -0
- {abstract_webtools-0.1.6.106 → abstract_webtools-0.1.6.108}/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.108
|
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.108',
|
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.106 → abstract_webtools-0.1.6.108}/src/abstract_webtools/k2s_downloader.py
RENAMED
@@ -117,36 +117,28 @@ class dlsManager:
|
|
117
117
|
def __init__(self, downloader):
|
118
118
|
self.downloader = downloader
|
119
119
|
self.json_file_path = self.downloader.json_file_path
|
120
|
-
all_dls
|
120
|
+
all_dls= None
|
121
121
|
if self.json_file_path:
|
122
122
|
all_dls = safe_load_from_json(self.json_file_path)
|
123
|
-
self.all_dls = all_dls or
|
123
|
+
self.all_dls = all_dls or []
|
124
124
|
self.last_data = None
|
125
|
-
|
126
125
|
def is_prev_dl(self, data):
|
127
|
-
|
128
|
-
extended_data = data.copy()
|
129
|
-
if data.get('k2s'):
|
130
|
-
metadata = self.downloader.get_file_metadata(data['k2s'])
|
131
|
-
extended_data.update({
|
132
|
-
'filename': metadata['filename'],
|
133
|
-
'size': metadata['size']
|
134
|
-
})
|
135
|
-
if check_json_data(self.all_dls, extended_data):
|
126
|
+
if check_json_data(self.all_dls,data):
|
136
127
|
self.last_data = None
|
137
128
|
return True
|
138
|
-
self.last_data =
|
129
|
+
self.last_data = data
|
139
130
|
return False
|
140
131
|
|
141
132
|
def dl_k2s_link(self, k2s_link):
|
142
133
|
if k2s_link:
|
143
134
|
print(f"Downloading: {k2s_link}")
|
144
|
-
|
135
|
+
self.downloader.download_file(k2s_link)
|
145
136
|
time.sleep(10)
|
146
|
-
if
|
147
|
-
self.last_data.update(metadata) # Merge download metadata
|
137
|
+
if self.json_file_path:
|
148
138
|
self.all_dls.append(self.last_data)
|
149
|
-
safe_dump_to_file(data=self.all_dls,
|
139
|
+
safe_dump_to_file(data=self.all_dls,
|
140
|
+
file_path=self.json_file_path)
|
141
|
+
|
150
142
|
|
151
143
|
def get_soup(url):
|
152
144
|
try:
|
{abstract_webtools-0.1.6.106 → abstract_webtools-0.1.6.108}/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.108
|
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.106 → abstract_webtools-0.1.6.108}/src/abstract_webtools/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{abstract_webtools-0.1.6.106 → abstract_webtools-0.1.6.108}/src/abstract_webtools/extention_list.py
RENAMED
File without changes
|
{abstract_webtools-0.1.6.106 → abstract_webtools-0.1.6.108}/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
|
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.106 → abstract_webtools-0.1.6.108}/src/abstract_webtools/soup_gui.py
RENAMED
File without changes
|
{abstract_webtools-0.1.6.106 → abstract_webtools-0.1.6.108}/src/abstract_webtools/url_grabber.py
RENAMED
File without changes
|
{abstract_webtools-0.1.6.106 → abstract_webtools-0.1.6.108}/src/abstract_webtools/url_grabber_new.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|