abstract-webtools 0.1.6.75__py3-none-any.whl → 0.1.6.76__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.
@@ -248,7 +248,7 @@ def optimize_video_for_safari(input_file, reencode=False):
248
248
  finally:
249
249
  shutil.rmtree(tmp_dir)
250
250
 
251
- def downloadvideo(url, directory=False, rename_display=True, thumbnails=True, audio=False,safai_optimize=False):
251
+ def downloadvideo(url, directory=False, rename_display=True, thumbnails=True, audio=False,safari_optimize=False):
252
252
  directory = directory or os.getcwd()
253
253
  temp_id = re.sub(r'[^\w\d.-]', '_', url)[-20:]
254
254
  temp_filename = f"temp_{temp_id}.mp4"
@@ -277,8 +277,8 @@ def downloadvideo(url, directory=False, rename_display=True, thumbnails=True, au
277
277
 
278
278
  # *** Here we call the optimization function ***
279
279
  video_path = info.get('file_path')
280
- if video_path and video_path.lower().endswith('.mp4') and safai_optimize:
281
- info['file_path'] = optimize_video_for_safari(video_path,reencode=safai_optimize)
280
+ if video_path and video_path.lower().endswith('.mp4') and safari_optimize:
281
+ info['file_path'] = optimize_video_for_safari(video_path,reencode=safari_optimize)
282
282
 
283
283
  info_path = os.path.join(directory, 'info.json')
284
284
  if thumbnails:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: abstract_webtools
3
- Version: 0.1.6.75
3
+ Version: 0.1.6.76
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
@@ -25,7 +25,7 @@ abstract_webtools/managers/sslManager.py,sha256=C-QgQw9CW84uOE5kx2MPjC3RsLbE2JQq
25
25
  abstract_webtools/managers/tlsAdapter.py,sha256=XZSMZz9EUOhv-h3_Waf6mjV1dA3oN_M_oWuoo4VZ_HE,1454
26
26
  abstract_webtools/managers/urlManager.py,sha256=Dvf-TiSo5j_YjZS2Eq6lFfbhveneD6NA_wEE0xUXy_E,8858
27
27
  abstract_webtools/managers/userAgentManager.py,sha256=cUaOlcCTzftVBCp9ZHwMXR9IB1wAE-03YSVwUBaIFLM,2514
28
- abstract_webtools/managers/videoDownloader.py,sha256=TJ0ixTAdxtpBvXWam11p6-eiFwvLbh8ORPDHF2YJiHQ,12452
28
+ abstract_webtools/managers/videoDownloader.py,sha256=LTOdO9vX9_sUOuik9T_-eMnPsISEY1vfCSm9G8QsZmc,12455
29
29
  abstract_webtools/managers/videoDownloader2.py,sha256=v3H6akdhvVWGrB-r35m3cp_-aKkNWadpfCiMylOnv6w,12748
30
30
  abstract_webtools/managers/linkManager/__init__.py,sha256=NpfWNzvTLSfsIWSeLYIxPzeLHADk_grSx5rfgCeWERw,27
31
31
  abstract_webtools/managers/linkManager/linkManager.py,sha256=roxOzOELca0rOlcMaJkTQHN3S0XF7dJihZmMq-uIXPQ,12184
@@ -37,7 +37,7 @@ abstract_webtools/managers/soupManager/soupManager.py,sha256=U3_o189-OWoBRaSCe2s
37
37
  abstract_webtools/managers/urlManager/__init__.py,sha256=gaJCHeK91Z-eYsBnxgdhbIUten1-gbx-zqx70R6ag-Y,26
38
38
  abstract_webtools/managers/urlManager/urlManager.py,sha256=vCFuLADmv3h7icaaoAsImGqb_49VizPY_ZvMl-C7PYk,7756
39
39
  abstract_webtools/managers/videos/Heather brooke swallo from condom.mp4,sha256=h-bKFLAHt7pGLGu4EcMvSSox7BPRK0Nga3u813iMVKQ,8335544
40
- abstract_webtools-0.1.6.75.dist-info/METADATA,sha256=tLcSQNPRA029eeLJxuqwmornfEp72OEnzaor81iV4BY,16029
41
- abstract_webtools-0.1.6.75.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
42
- abstract_webtools-0.1.6.75.dist-info/top_level.txt,sha256=2DMJ7RmjTcjCsa-uwAV0K6eXXlIIkFDEjBLg_uyCmCI,18
43
- abstract_webtools-0.1.6.75.dist-info/RECORD,,
40
+ abstract_webtools-0.1.6.76.dist-info/METADATA,sha256=1ig8MUkm6Gt66J0wHxYch8x2-xxUGR95BpMA0nrLtCk,16029
41
+ abstract_webtools-0.1.6.76.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
42
+ abstract_webtools-0.1.6.76.dist-info/top_level.txt,sha256=2DMJ7RmjTcjCsa-uwAV0K6eXXlIIkFDEjBLg_uyCmCI,18
43
+ abstract_webtools-0.1.6.76.dist-info/RECORD,,