abstract-webtools 0.1.6.56__py3-none-any.whl → 0.1.6.58__py3-none-any.whl
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/abstract_usurpit.py +4 -3
- {abstract_webtools-0.1.6.56.dist-info → abstract_webtools-0.1.6.58.dist-info}/METADATA +1 -1
- {abstract_webtools-0.1.6.56.dist-info → abstract_webtools-0.1.6.58.dist-info}/RECORD +5 -5
- {abstract_webtools-0.1.6.56.dist-info → abstract_webtools-0.1.6.58.dist-info}/WHEEL +0 -0
- {abstract_webtools-0.1.6.56.dist-info → abstract_webtools-0.1.6.58.dist-info}/top_level.txt +0 -0
@@ -130,7 +130,7 @@ class usurpManager():
|
|
130
130
|
parsed_asset_url = urlparse(full_asset_url)
|
131
131
|
|
132
132
|
if is_valid_url(full_asset_url, base_domain):
|
133
|
-
save_asset(full_asset_url, self.url,self.session)
|
133
|
+
save_asset(full_asset_url, self.url,self.OUTPUT_DIR,self.session)
|
134
134
|
# Update tag to point to the local asset
|
135
135
|
local_asset_path = '/' + parsed_asset_url.path.lstrip('/')
|
136
136
|
tag[attr] = local_asset_path
|
@@ -166,8 +166,9 @@ def test_download(url=None,directory=None):
|
|
166
166
|
output_dir= directory or os.path.join(os.getcwd(),'testit')
|
167
167
|
os.makedirs(output_dir,exist_ok=True)
|
168
168
|
site_mgr = usurpManager(url,output_dir)
|
169
|
-
|
169
|
+
|
170
170
|
def usurpit(url,output_dir=None,max_depth=None,wait_between_requests=None,operating_system=None, browser=None, version=None,user_agent=None,website_bot=None):
|
171
171
|
output_dir= output_dir or os.path.join(os.getcwd(),'usurped')
|
172
172
|
os.makedirs(output_dir,exist_ok=True)
|
173
|
-
site_mgr = usurpManager(url,output_dir)
|
173
|
+
site_mgr = usurpManager(url,output_dir=output_dir,max_depth=max_depth,wait_between_requests=wait_between_requests,operating_system=operating_system, browser=browser, version=version,user_agent=user_agent,website_bot=website_bot)
|
174
|
+
site_mgr.main()
|
@@ -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.58
|
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
|
@@ -1,6 +1,6 @@
|
|
1
1
|
abstract_webtools/__init__.py,sha256=zNMp-9f0Q6BXWxR-tgHrEqKP8GeXw9z7VYzbqIeEydo,132
|
2
2
|
abstract_webtools/abstract_userpit.py,sha256=Rg_0Orx79rxqEePt6Sf-evGslPq5KLlTiL-P2w1u6ng,6462
|
3
|
-
abstract_webtools/abstract_usurpit.py,sha256=
|
3
|
+
abstract_webtools/abstract_usurpit.py,sha256=paS7_7jjJoT7UWPRMDkiI9Hc5yeusE_xbCUu7UhNwV4,6993
|
4
4
|
abstract_webtools/abstract_webtools.py,sha256=3NzGmJlZvrdVtEcUi2K5iUgWr1822IBPhIN9us2e2t0,3859
|
5
5
|
abstract_webtools/big_user_agent_list.py,sha256=5ZkrUWmfzYL5yaULREslh9ZiRQeITbSjqZlp2KQON3w,131923
|
6
6
|
abstract_webtools/main.py,sha256=_I7pPXPkoLZOoYGLQDrSLGhGuQt6-PVyXEHZSmglk2g,1329
|
@@ -37,7 +37,7 @@ abstract_webtools/managers/soupManager/soupManager.py,sha256=U3_o189-OWoBRaSCe2s
|
|
37
37
|
abstract_webtools/managers/urlManager/__init__.py,sha256=gaJCHeK91Z-eYsBnxgdhbIUten1-gbx-zqx70R6ag-Y,26
|
38
38
|
abstract_webtools/managers/urlManager/urlManager.py,sha256=vCFuLADmv3h7icaaoAsImGqb_49VizPY_ZvMl-C7PYk,7756
|
39
39
|
abstract_webtools/managers/videos/Heather brooke swallo from condom.mp4,sha256=h-bKFLAHt7pGLGu4EcMvSSox7BPRK0Nga3u813iMVKQ,8335544
|
40
|
-
abstract_webtools-0.1.6.
|
41
|
-
abstract_webtools-0.1.6.
|
42
|
-
abstract_webtools-0.1.6.
|
43
|
-
abstract_webtools-0.1.6.
|
40
|
+
abstract_webtools-0.1.6.58.dist-info/METADATA,sha256=g4Tn0O7RZ-pD_b1c-2buAP6EY_GD3UrrK1ChF7B5nus,16029
|
41
|
+
abstract_webtools-0.1.6.58.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
|
42
|
+
abstract_webtools-0.1.6.58.dist-info/top_level.txt,sha256=2DMJ7RmjTcjCsa-uwAV0K6eXXlIIkFDEjBLg_uyCmCI,18
|
43
|
+
abstract_webtools-0.1.6.58.dist-info/RECORD,,
|
File without changes
|
File without changes
|