abstract-webtools 0.1.5.97__py3-none-any.whl → 0.1.5.98__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.
@@ -279,21 +279,21 @@ class soupManager:
279
279
  attribute_names_list = list(attribute_names)
280
280
  return {"tags":tag_names_list,"attributes":attribute_names_list}
281
281
 
282
- def get_all_attribute_values(self, tag_list=None):
282
+ def get_all_attribute_values(self, tags_list=None):
283
283
  """
284
284
  Collects all attribute values for each specified tag or all tags if none are specified.
285
285
 
286
286
  Parameters:
287
- - tag_list: List of specific tags to retrieve attributes from, e.g., ['script', 'img'].
287
+ - tags_list: List of specific tags to retrieve attributes from, e.g., ['script', 'img'].
288
288
  If None, retrieves attributes for all tags.
289
289
 
290
290
  Returns:
291
291
  - attribute_values: Dictionary where each key is an attribute and the value is a list of unique values for that attribute.
292
292
  """
293
293
  attribute_values = {}
294
- tag_list = tag_list or self.all_tags_and_attributes
295
- # Get all tags matching tag_list criteria
296
- for tag_name in tag_list:
294
+ tags_list = tags_list or self.all_tags_and_attributes
295
+ # Get all tags matching tags_list criteria
296
+ for tag_name in tags_list:
297
297
  for tag in self.soup.find_all(tag_name):
298
298
  for attr, value in tag.attrs.items():
299
299
  if attr not in attribute_values:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: abstract_webtools
3
- Version: 0.1.5.97
3
+ Version: 0.1.5.98
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
@@ -15,14 +15,14 @@ abstract_webtools/managers/mySocketClient.py,sha256=-j1Q8Ds9RCSbjZdx3ZF9mVpgwxaO
15
15
  abstract_webtools/managers/networkManager.py,sha256=Op2QDXrP-gmm0tCToe-Ryt9xuOtMppcN2KLKP1WZiu0,952
16
16
  abstract_webtools/managers/requestManager.py,sha256=YksYgRivMMuZNOzyL5vaoXv9MLhgYeuLxO_UJiqPGWw,17312
17
17
  abstract_webtools/managers/seleniumManager.py,sha256=CtQQYtDrFfgp8ujC6i5SCe0b_hgIA1K68io0aO4igoM,3623
18
- abstract_webtools/managers/soupManager.py,sha256=nFHalHxxDXNI2HhDg8ffZYF36LbJ-uWxx4JnRFa3Hhw,16542
18
+ abstract_webtools/managers/soupManager.py,sha256=7nSaq7OHaimc8602BihAXCA2ra0dbsB26d4yJzsRARc,16548
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=XqMrCM84BeWEfWtHc_8UFpT91ZtG-okzdKdCuC49vsA,8678
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.97.dist-info/LICENSE,sha256=g3WEJFiVS27HyCGRTwKSsMLyciMaGFdWcZGOe1QalZk,3877
25
- abstract_webtools-0.1.5.97.dist-info/METADATA,sha256=5E14JgIpMfLL80bHASnjvFZ2G1dUSg1yaT9W36RFQvg,15858
26
- abstract_webtools-0.1.5.97.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
27
- abstract_webtools-0.1.5.97.dist-info/top_level.txt,sha256=2DMJ7RmjTcjCsa-uwAV0K6eXXlIIkFDEjBLg_uyCmCI,18
28
- abstract_webtools-0.1.5.97.dist-info/RECORD,,
24
+ abstract_webtools-0.1.5.98.dist-info/LICENSE,sha256=g3WEJFiVS27HyCGRTwKSsMLyciMaGFdWcZGOe1QalZk,3877
25
+ abstract_webtools-0.1.5.98.dist-info/METADATA,sha256=uLWlH20TJTSC9DWSfZrN5nCRRcuv-gBpTFouxM-GaFo,15858
26
+ abstract_webtools-0.1.5.98.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
27
+ abstract_webtools-0.1.5.98.dist-info/top_level.txt,sha256=2DMJ7RmjTcjCsa-uwAV0K6eXXlIIkFDEjBLg_uyCmCI,18
28
+ abstract_webtools-0.1.5.98.dist-info/RECORD,,