abstract-webtools 0.1.6.131__py3-none-any.whl → 0.1.6.132__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.
@@ -198,7 +198,7 @@ def validate_video_urls(urls,
198
198
  )
199
199
  if video_info:
200
200
  output_urls.append(url)
201
- if get_info_url or get_for_video:
201
+ if get_info_url or get_for_video and video_info and isinstance(video_info,dict) and video_info != {}:
202
202
  output_urls[-1] = video_info
203
203
  if get_for_video:
204
204
  dl_info = for_dl_video(
@@ -213,6 +213,7 @@ def validate_video_urls(urls,
213
213
  if get_info_url:
214
214
  if isinstance(output_urls[-1],dict):
215
215
  output_urls[-1]['initial_url'] = url
216
+ return output_urls[-1]
216
217
 
217
218
  return output_urls
218
219
  def clean_url(urls):
@@ -231,14 +232,14 @@ def get_bolshevid_videos(url,
231
232
  output_filename=None,
232
233
  get_info=True,
233
234
  download_video=True):
234
- video_info = dl_video(
235
+ video_info = for_dl_video(
235
236
  url,
236
237
  download_directory=download_directory,
237
238
  output_filename=output_filename,
238
239
  get_info=get_info,
239
- download_video=True
240
+ download_video=download_video
240
241
  )
241
- if video_info:
242
+ if video_info and isinstance(video_info,dict) and video_info != {}:
242
243
  return video_info
243
244
  urls = deriveUrlList(url)
244
245
  video_urls = validate_video_urls(urls,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: abstract_webtools
3
- Version: 0.1.6.131
3
+ Version: 0.1.6.132
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
@@ -34,7 +34,7 @@ abstract_webtools/managers/userAgentManager.py,sha256=cUaOlcCTzftVBCp9ZHwMXR9IB1
34
34
  abstract_webtools/managers/videoDownloader.py,sha256=mKXhKYNnJwPaiqAsHvFTBGLdXFgR3wdV0G1OIimiKbE,15424
35
35
  abstract_webtools/managers/videoDownloader2.py,sha256=v3H6akdhvVWGrB-r35m3cp_-aKkNWadpfCiMylOnv6w,12748
36
36
  abstract_webtools/managers/clownworld/__init__.py,sha256=eq25euhRbFqHLm1ibi_7FGz_oNWs-kkyAkETzK3r4_Q,35
37
- abstract_webtools/managers/clownworld/get_bolshevid_video.py,sha256=qxFo8a4AlOcBNjWbH3R6Pm4v6Kaswd1HOdEWZrAMLWY,10356
37
+ abstract_webtools/managers/clownworld/get_bolshevid_video.py,sha256=QaX90q4bBawfkycFI9MIDtWogmBROH8r8NWl0C45VEg,10530
38
38
  abstract_webtools/managers/linkManager/__init__.py,sha256=NpfWNzvTLSfsIWSeLYIxPzeLHADk_grSx5rfgCeWERw,27
39
39
  abstract_webtools/managers/linkManager/linkManager.py,sha256=roxOzOELca0rOlcMaJkTQHN3S0XF7dJihZmMq-uIXPQ,12184
40
40
  abstract_webtools/managers/requestManager/__init__.py,sha256=z2qGtweEoO_OKr959LGxVXEMu1hu7PIkmh89BEh5TI8,30
@@ -45,7 +45,7 @@ abstract_webtools/managers/soupManager/soupManager.py,sha256=U3_o189-OWoBRaSCe2s
45
45
  abstract_webtools/managers/urlManager/__init__.py,sha256=gaJCHeK91Z-eYsBnxgdhbIUten1-gbx-zqx70R6ag-Y,26
46
46
  abstract_webtools/managers/urlManager/urlManager.py,sha256=vCFuLADmv3h7icaaoAsImGqb_49VizPY_ZvMl-C7PYk,7756
47
47
  abstract_webtools/managers/videos/Heather brooke swallo from condom.mp4,sha256=h-bKFLAHt7pGLGu4EcMvSSox7BPRK0Nga3u813iMVKQ,8335544
48
- abstract_webtools-0.1.6.131.dist-info/METADATA,sha256=UVPVuBdlnxVzO9gBqkkde57rLmQUyP8IsRwq0n0ABB8,7289
49
- abstract_webtools-0.1.6.131.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
50
- abstract_webtools-0.1.6.131.dist-info/top_level.txt,sha256=2DMJ7RmjTcjCsa-uwAV0K6eXXlIIkFDEjBLg_uyCmCI,18
51
- abstract_webtools-0.1.6.131.dist-info/RECORD,,
48
+ abstract_webtools-0.1.6.132.dist-info/METADATA,sha256=Uxf8Mr8b6ohxjGZWJOAbv_Ow1CKdhyuRIPpOAKEWEvk,7289
49
+ abstract_webtools-0.1.6.132.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
50
+ abstract_webtools-0.1.6.132.dist-info/top_level.txt,sha256=2DMJ7RmjTcjCsa-uwAV0K6eXXlIIkFDEjBLg_uyCmCI,18
51
+ abstract_webtools-0.1.6.132.dist-info/RECORD,,