eaf-base-api 1.1__tar.gz → 1.2__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: eaf_base_api
3
- Version: 1.1
3
+ Version: 1.2
4
4
  Summary: A base API for EchterAlsFake's Porn APIs
5
5
  Home-page: https://github.com/EchterAlsFake/eaf_base_api
6
6
  Author: Johannes Habel
@@ -88,12 +88,12 @@ class Core:
88
88
 
89
89
  return self.quality_url_map.get(selected_quality)
90
90
 
91
- def download(self, video, quality, downloader, output_path, callback=None):
91
+ def download(self, video, quality, downloader, path, callback=None):
92
92
  """
93
93
  :param callback:
94
94
  :param downloader:
95
95
  :param quality:
96
- :param output_path:
96
+ :param path:
97
97
  :return:
98
98
  """
99
99
  quality = self.fix_quality(quality)
@@ -102,14 +102,14 @@ class Core:
102
102
  callback = Callback.text_progress_bar
103
103
 
104
104
  if downloader == default or str(downloader) == "default":
105
- default(video=video, quality=quality, path=output_path, callback=callback)
105
+ default(video=video, quality=quality, path=path, callback=callback)
106
106
 
107
107
  elif downloader == threaded or str(downloader) == "threaded":
108
108
  threaded_download = threaded(max_workers=20, timeout=10)
109
- threaded_download(video=video, quality=quality, path=output_path, callback=callback)
109
+ threaded_download(video=video, quality=quality, path=path, callback=callback)
110
110
 
111
111
  elif downloader == FFMPEG or str(downloader) == "FFMPEG":
112
- FFMPEG(video=video, quality=quality, path=output_path, callback=callback)
112
+ FFMPEG(video=video, quality=quality, path=path, callback=callback)
113
113
 
114
114
  @classmethod
115
115
  def correct_path(cls, path):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: eaf_base_api
3
- Version: 1.1
3
+ Version: 1.2
4
4
  Summary: A base API for EchterAlsFake's Porn APIs
5
5
  Home-page: https://github.com/EchterAlsFake/eaf_base_api
6
6
  Author: Johannes Habel
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name="eaf_base_api",
5
- version="1.1",
5
+ version="1.2",
6
6
  packages=find_packages(),
7
7
  install_requires=[
8
8
  "requests", "ffmpeg-progress-yield"
File without changes
File without changes