abstract-webtools 0.1.4.14__py3-none-any.whl → 0.1.4.15__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.
@@ -82,6 +82,7 @@ from urllib.parse import urlparse
82
82
  import logging
83
83
  import xml.etree.ElementTree as ET
84
84
  from abstract_utilities.time_utils import get_time_stamp,get_sleep,sleep_count_down
85
+ from abstract_utilities.string_clean import eatInner
85
86
  logging.basicConfig(level=logging.INFO)
86
87
  class DynamicRateLimiterManager:
87
88
  def __init__(self):
@@ -676,7 +677,7 @@ class VideoDownloader:
676
677
  self.page_source = driver.page_source
677
678
  for each in self.page_source.split('<source ')[1:]:
678
679
  # NOTE: Make sure to import the `eatAll` function and use it here.
679
- self.video_urls.append(eatAll(each.split('.{self.video_extention}'.replace('..','.'))[0].split('http')[-1],['h','t','t','p','s',':','//','/','s','=',' ','\n','\t',''])+'.mp4')
680
+ self.video_urls.append(eatInner(each.split('.{self.video_extention}'.replace('..','.'))[0].split('http')[-1],['h','t','t','p','s',':','//','/','s','=',' ','\n','\t',''])+'.mp4')
680
681
  def download_videos(self):
681
682
  for video_url in self.video_urls:
682
683
  ydl_opts = {}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: abstract-webtools
3
- Version: 0.1.4.14
3
+ Version: 0.1.4.15
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
@@ -1,13 +1,13 @@
1
1
  abstract_webtools/__init__.py,sha256=2SWEfdPDHqqjUYsOQYlaOHF644ZYcO160nWKiAjga4w,34
2
2
  abstract_webtools/abstract_crawler.py,sha256=e8jVVv1_EB8poqlrdQaJ19z9Z0t8un5uc-DKnj1Ud5s,8002
3
- abstract_webtools/abstract_webtools.py,sha256=vrEkybF7vu6uXejCs7niOWfzo3I1xgznKvdBaZLWAMs,42540
3
+ abstract_webtools/abstract_webtools.py,sha256=xi8GOHERNGmNEZQEUpMB6K99xaqq-Q2Ib5MQSF-rsVc,42596
4
4
  abstract_webtools/abstract_webtools2.py,sha256=dlhhgmUTaN_NgkT6GcJMVBLuXjmW38gAOeCrKxYqytk,30685
5
5
  abstract_webtools/dfgdsf.py,sha256=T1pj-ne_qVfaAdu1MIdtW3q3UZqNP78Kt0OMhz4Musk,1355
6
6
  abstract_webtools/grab_source_gui.py,sha256=Wz-FKLOuPQlBYz3kojXihpMbS4rqv4NWGr9ezF-Jt2g,16356
7
7
  abstract_webtools/main.py,sha256=_I7pPXPkoLZOoYGLQDrSLGhGuQt6-PVyXEHZSmglk2g,1329
8
8
  abstract_webtools/sou.py,sha256=8HjmcpXJFi_kC2O-SVGebUIFY5I5B9bPP9L8BAiWhfk,4526
9
- abstract_webtools-0.1.4.14.dist-info/LICENSE,sha256=g3WEJFiVS27HyCGRTwKSsMLyciMaGFdWcZGOe1QalZk,3877
10
- abstract_webtools-0.1.4.14.dist-info/METADATA,sha256=y6-qH_64FxwN8wqSRYs16px8o0UtvlUQxa9mj4c4Pas,8963
11
- abstract_webtools-0.1.4.14.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
12
- abstract_webtools-0.1.4.14.dist-info/top_level.txt,sha256=2DMJ7RmjTcjCsa-uwAV0K6eXXlIIkFDEjBLg_uyCmCI,18
13
- abstract_webtools-0.1.4.14.dist-info/RECORD,,
9
+ abstract_webtools-0.1.4.15.dist-info/LICENSE,sha256=g3WEJFiVS27HyCGRTwKSsMLyciMaGFdWcZGOe1QalZk,3877
10
+ abstract_webtools-0.1.4.15.dist-info/METADATA,sha256=fCyPjFI73eFpFHNP1yHrfLMNcP6ogKlbvob_MxKFSNI,8963
11
+ abstract_webtools-0.1.4.15.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
12
+ abstract_webtools-0.1.4.15.dist-info/top_level.txt,sha256=2DMJ7RmjTcjCsa-uwAV0K6eXXlIIkFDEjBLg_uyCmCI,18
13
+ abstract_webtools-0.1.4.15.dist-info/RECORD,,