abstract-webtools 0.1.5.85__py3-none-any.whl → 0.1.5.87__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/managers/domainManager.py +3 -3
- abstract_webtools/managers/seleniumManager.py +4 -3
- {abstract_webtools-0.1.5.85.dist-info → abstract_webtools-0.1.5.87.dist-info}/METADATA +1 -1
- {abstract_webtools-0.1.5.85.dist-info → abstract_webtools-0.1.5.87.dist-info}/RECORD +7 -7
- {abstract_webtools-0.1.5.85.dist-info → abstract_webtools-0.1.5.87.dist-info}/LICENSE +0 -0
- {abstract_webtools-0.1.5.85.dist-info → abstract_webtools-0.1.5.87.dist-info}/WHEEL +0 -0
- {abstract_webtools-0.1.5.85.dist-info → abstract_webtools-0.1.5.87.dist-info}/top_level.txt +0 -0
@@ -22,10 +22,10 @@ class domainManager(metaclass=SingletonMeta):
|
|
22
22
|
# dir_path = get_image_name('contents',directory=dir_path,ext='png',url=item_url)
|
23
23
|
|
24
24
|
|
25
|
-
|
25
|
+
self.page_type.append(os.path.splitext(paths[-1])[-1] or 'html' if len(self.page_type) == 0 else self.page_type[-1])
|
26
26
|
|
27
|
-
|
28
|
-
|
27
|
+
dir_path = os.path.join(dir_path, paths[-1])
|
28
|
+
return dir_path
|
29
29
|
|
30
30
|
def saved_url_check(self, url):
|
31
31
|
|
@@ -60,9 +60,10 @@ class domainManager(metaclass=SingletonMeta):
|
|
60
60
|
for path in paths[:-1]:
|
61
61
|
dir_path = os.path.join(dir_path, path)
|
62
62
|
os.makedirs(dir_path, exist_ok=True)
|
63
|
-
|
64
|
-
|
65
|
-
|
63
|
+
self.page_type.append(os.path.splitext(paths[-1])[-1] or 'html' if len(self.page_type) == 0 else self.page_type[-1])
|
64
|
+
|
65
|
+
dir_path = os.path.join(dir_path, paths[-1])
|
66
|
+
return dir_path
|
66
67
|
|
67
68
|
def saved_url_check(self, url):
|
68
69
|
path = self.get_url_to_path(url)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: abstract_webtools
|
3
|
-
Version: 0.1.5.
|
3
|
+
Version: 0.1.5.87
|
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
|
@@ -8,21 +8,21 @@ abstract_webtools/url_grabber_new.py,sha256=Oh2Kc0gBScCo0xpopNsg8JE5lIbPuzZVKM5f
|
|
8
8
|
abstract_webtools/managers/__init__.py,sha256=5aIpbdUsDWTrhPUAjfIKnG54OULqOKan9LBL5EIUllo,407
|
9
9
|
abstract_webtools/managers/cipherManager.py,sha256=NHQGdR11eNSm-1H-GezD5dyQgsPTJwY5kczt8Sher2s,1621
|
10
10
|
abstract_webtools/managers/crawlManager.py,sha256=8ico7qFM8sXluIx3Rzgr5TZMmwsb_bnx2eYoS2Vss6I,7661
|
11
|
-
abstract_webtools/managers/domainManager.py,sha256=
|
11
|
+
abstract_webtools/managers/domainManager.py,sha256=N7gvSzBEqItXdOny40mvLytBiNYYNA67qTzt0Qa2qHU,1800
|
12
12
|
abstract_webtools/managers/dynamicRateLimiter.py,sha256=gopQcQo50JG2D0KcyepNCIQ_1uDQEBIHBzWf4R2Wgy0,7617
|
13
13
|
abstract_webtools/managers/linkManager.py,sha256=m6y9s8jknrTX8RtOAFKeHd4yd23G7Rgf0T7Sp7wmHUw,12180
|
14
14
|
abstract_webtools/managers/mySocketClient.py,sha256=-j1Q8Ds9RCSbjZdx3ZF9mVpgwxaO0BBssanUcpYVQoY,2045
|
15
15
|
abstract_webtools/managers/networkManager.py,sha256=Op2QDXrP-gmm0tCToe-Ryt9xuOtMppcN2KLKP1WZiu0,952
|
16
16
|
abstract_webtools/managers/requestManager.py,sha256=ZAood3uhs6mi--R8RLTtcNFxACKhu-Jf3m-u4fFMY2Q,17029
|
17
|
-
abstract_webtools/managers/seleniumManager.py,sha256=
|
17
|
+
abstract_webtools/managers/seleniumManager.py,sha256=lQdqD4YqLCQSkk-Dvk_ZVrq1y-NvbLEvfZc-vJvl2Nw,3525
|
18
18
|
abstract_webtools/managers/soupManager.py,sha256=03qfg4Ww6T3F9HP0F2RoqxZ-jBFhnwE-lS7m3EOcRCI,14717
|
19
19
|
abstract_webtools/managers/sslManager.py,sha256=C-QgQw9CW84uOE5kx2MPjC3RsLbE2JQqdwdTs0H4ecc,1370
|
20
20
|
abstract_webtools/managers/tlsAdapter.py,sha256=XZSMZz9EUOhv-h3_Waf6mjV1dA3oN_M_oWuoo4VZ_HE,1454
|
21
21
|
abstract_webtools/managers/urlManager.py,sha256=OtEBV26RHHuxtbYLLX56AlMv83s9kOIcsDvlMZ9bKZc,8647
|
22
22
|
abstract_webtools/managers/userAgentManager.py,sha256=33SB2p2FG7EYZl7l2iYm1U4gI9PcdkGTZHw5lg_Ogrw,1653
|
23
23
|
abstract_webtools/managers/videoDownloader.py,sha256=6G_aLc05BTMUYUWc7iqYtHF_BaR7DnCNK_NJ-QnjsYY,10531
|
24
|
-
abstract_webtools-0.1.5.
|
25
|
-
abstract_webtools-0.1.5.
|
26
|
-
abstract_webtools-0.1.5.
|
27
|
-
abstract_webtools-0.1.5.
|
28
|
-
abstract_webtools-0.1.5.
|
24
|
+
abstract_webtools-0.1.5.87.dist-info/LICENSE,sha256=g3WEJFiVS27HyCGRTwKSsMLyciMaGFdWcZGOe1QalZk,3877
|
25
|
+
abstract_webtools-0.1.5.87.dist-info/METADATA,sha256=R703oNn5tlPEAXYtecqKp9s5_Y35a0CS-fbWoNlXRoc,15858
|
26
|
+
abstract_webtools-0.1.5.87.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
|
27
|
+
abstract_webtools-0.1.5.87.dist-info/top_level.txt,sha256=2DMJ7RmjTcjCsa-uwAV0K6eXXlIIkFDEjBLg_uyCmCI,18
|
28
|
+
abstract_webtools-0.1.5.87.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|