abstract-webtools 0.1.4.88__py3-none-any.whl → 0.1.4.89__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/url_grabber.py +3 -1
- {abstract_webtools-0.1.4.88.dist-info → abstract_webtools-0.1.4.89.dist-info}/METADATA +1 -1
- {abstract_webtools-0.1.4.88.dist-info → abstract_webtools-0.1.4.89.dist-info}/RECORD +6 -6
- {abstract_webtools-0.1.4.88.dist-info → abstract_webtools-0.1.4.89.dist-info}/LICENSE +0 -0
- {abstract_webtools-0.1.4.88.dist-info → abstract_webtools-0.1.4.89.dist-info}/WHEEL +0 -0
- {abstract_webtools-0.1.4.88.dist-info → abstract_webtools-0.1.4.89.dist-info}/top_level.txt +0 -0
abstract_webtools/url_grabber.py
CHANGED
@@ -164,6 +164,7 @@ def update_source_code(url_manager,request_manager,soup_manager,link_manager,val
|
|
164
164
|
return url_manager,request_manager,soup_manager,link_manager
|
165
165
|
def url_grabber_while(window,initial_url="www.example.com"):
|
166
166
|
return_data=None
|
167
|
+
url_grab = False
|
167
168
|
url_manager=UrlManager(url=initial_url)
|
168
169
|
request_manager = SafeRequest(url_manager=url_manager)
|
169
170
|
soup_manager= SoupManager(url_manager=url_manager,request_manager=request_manager)
|
@@ -172,7 +173,7 @@ def url_grabber_while(window,initial_url="www.example.com"):
|
|
172
173
|
event, values = window.read()
|
173
174
|
if event == sg.WINDOW_CLOSED:
|
174
175
|
break
|
175
|
-
if event=='-GRAB_URL-':
|
176
|
+
if event=='-GRAB_URL-' or not url_grab:
|
176
177
|
url=values['-URL-']
|
177
178
|
if UrlManager(url=url).url:
|
178
179
|
if url != url_manager.url or url == initial_url:
|
@@ -180,6 +181,7 @@ def url_grabber_while(window,initial_url="www.example.com"):
|
|
180
181
|
|
181
182
|
url_manager,request_manager,soup_manager,link_manager=update_url(url_manager=url_manager,request_manager=request_manager,soup_manager=soup_manager,link_manager=link_manager,values=values)
|
182
183
|
window['-URL-'].update(value=url_manager.url)
|
184
|
+
url_grab=True
|
183
185
|
if event == 'get soup':
|
184
186
|
tags_js = get_attrs(values)
|
185
187
|
all_desired=soup_manager.find_tags_by_attributes(tag=tags_js['tag'], attr=tags_js['attribute'],attr_values=tags_js['input'])
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: abstract-webtools
|
3
|
-
Version: 0.1.4.
|
3
|
+
Version: 0.1.4.89
|
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
|
@@ -11,10 +11,10 @@ abstract_webtools/soup.py,sha256=i9Z2EL8dufbzZGP_mrJom1DCQPUOfgfVlSbiHiPnCGo,479
|
|
11
11
|
abstract_webtools/soup_gui.py,sha256=n95YAps1R6DpMwR4UbthSqQby0C5WHUa9tsW-f2qpLg,5184
|
12
12
|
abstract_webtools/test_auth.py,sha256=2OByzIWdjXyG_cCE_HSwevDbnxcOwqJLVeBR25EjiJY,608
|
13
13
|
abstract_webtools/test_var.py,sha256=EnxfhiLqNaG9MIHPyIbobufRzo4z1p0UIm8ArZybeRU,72
|
14
|
-
abstract_webtools/url_grabber.py,sha256=
|
14
|
+
abstract_webtools/url_grabber.py,sha256=VK33hzVJqJoo9hY3_PJ36OC_5t2pG0ka2cD7dr7DLeA,10872
|
15
15
|
abstract_webtools/vido_test.py,sha256=wP0YGj-dWBh76g7xpvC88nOtqfeTp2hdQ-mp4ywjjXg,147
|
16
|
-
abstract_webtools-0.1.4.
|
17
|
-
abstract_webtools-0.1.4.
|
18
|
-
abstract_webtools-0.1.4.
|
19
|
-
abstract_webtools-0.1.4.
|
20
|
-
abstract_webtools-0.1.4.
|
16
|
+
abstract_webtools-0.1.4.89.dist-info/LICENSE,sha256=g3WEJFiVS27HyCGRTwKSsMLyciMaGFdWcZGOe1QalZk,3877
|
17
|
+
abstract_webtools-0.1.4.89.dist-info/METADATA,sha256=S9YO5HokaxvmJWf5GkiqTx4tbaqP5ZICxA5fZ-rqXRE,15908
|
18
|
+
abstract_webtools-0.1.4.89.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
|
19
|
+
abstract_webtools-0.1.4.89.dist-info/top_level.txt,sha256=2DMJ7RmjTcjCsa-uwAV0K6eXXlIIkFDEjBLg_uyCmCI,18
|
20
|
+
abstract_webtools-0.1.4.89.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|