abstract-webtools 0.1.6.130__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.
@@ -177,7 +177,6 @@ def deriveUrlList(url):
177
177
  urls = url_function(urls)
178
178
  except Exception as e:
179
179
  logger.info(f"{e}")
180
- input()
181
180
  return urls
182
181
  def validate_video_urls(urls,
183
182
  get_info_url=False,
@@ -199,7 +198,7 @@ def validate_video_urls(urls,
199
198
  )
200
199
  if video_info:
201
200
  output_urls.append(url)
202
- 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 != {}:
203
202
  output_urls[-1] = video_info
204
203
  if get_for_video:
205
204
  dl_info = for_dl_video(
@@ -214,6 +213,7 @@ def validate_video_urls(urls,
214
213
  if get_info_url:
215
214
  if isinstance(output_urls[-1],dict):
216
215
  output_urls[-1]['initial_url'] = url
216
+ return output_urls[-1]
217
217
 
218
218
  return output_urls
219
219
  def clean_url(urls):
@@ -232,14 +232,14 @@ def get_bolshevid_videos(url,
232
232
  output_filename=None,
233
233
  get_info=True,
234
234
  download_video=True):
235
- video_info = dl_video(
235
+ video_info = for_dl_video(
236
236
  url,
237
237
  download_directory=download_directory,
238
238
  output_filename=output_filename,
239
239
  get_info=get_info,
240
- download_video=True
240
+ download_video=download_video
241
241
  )
242
- if video_info:
242
+ if video_info and isinstance(video_info,dict) and video_info != {}:
243
243
  return video_info
244
244
  urls = deriveUrlList(url)
245
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.130
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=IwbKgkg8vOd61CYnD_MjY9mH4EB_JRoOXdIL7nGSR-M,10376
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.130.dist-info/METADATA,sha256=dZvNfAG_S95-lPZaz-lJtSGARBkTcEJzc-3o1Wzr72Y,7289
49
- abstract_webtools-0.1.6.130.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
50
- abstract_webtools-0.1.6.130.dist-info/top_level.txt,sha256=2DMJ7RmjTcjCsa-uwAV0K6eXXlIIkFDEjBLg_uyCmCI,18
51
- abstract_webtools-0.1.6.130.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,,