plexflow 0.0.131__py3-none-any.whl → 0.0.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.
@@ -31,3 +31,22 @@ class AutoTorrents:
31
31
  return PiratesParadise().search(query=query, kwargs=kwargs)
32
32
  else:
33
33
  raise ValueError(f"Invalid source: {source}")
34
+
35
+ @staticmethod
36
+ def show(imdb_id: str = None, query: str = None, source: str = 'tpb', headless: bool = True, **kwargs) -> List[Torrent]:
37
+ if source == 'tpb':
38
+ return TPB(**kwargs).search(query=imdb_id if not query else query, headless=headless, **kwargs)
39
+ elif source == 'torrentquest':
40
+ return TorrentQuest(**kwargs).search(query=query)
41
+ elif source == 'extratorrent':
42
+ return ExtraTorrent(**kwargs).search(query=query)
43
+ elif source == 'therarbg':
44
+ return TheRarbg(**kwargs).search(query=imdb_id, headless=headless, **kwargs)
45
+ elif source == 'ext':
46
+ return Ext(**kwargs).search(query=query)
47
+ elif source == 'snowfl':
48
+ return Snowfl(**kwargs).search(query=query)
49
+ elif source == "piratesparadise":
50
+ return PiratesParadise().search(query=query, kwargs=kwargs)
51
+ else:
52
+ raise ValueError(f"Invalid source: {source}")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: plexflow
3
- Version: 0.0.131
3
+ Version: 0.0.132
4
4
  Summary: A short description of the package.
5
5
  License: MIT
6
6
  Keywords: keyword1,keyword2,keyword3
@@ -406,7 +406,7 @@ plexflow/core/torrents/analyzers/analyzed_torrent.py,sha256=gsAr5RjYVXozWUaP3zSh
406
406
  plexflow/core/torrents/analyzers/analyzer.py,sha256=-KqZpwrrQpu5Aqt94plO5fUr1RQOOdCzKb1dT5P1SoE,1358
407
407
  plexflow/core/torrents/analyzers/torrentquest/__pycache__/analyzer.cpython-312.pyc,sha256=NpoTFmZEWD7_49Qdbr4_CsvIn5F0uOjls-uWa3hgodY,2759
408
408
  plexflow/core/torrents/analyzers/torrentquest/analyzer.py,sha256=f2X3CcYBA9xYZ6kRLkGQ5YK5feXjsw229z5nLWUHMEI,1907
409
- plexflow/core/torrents/auto/__pycache__/auto_torrents.cpython-312.pyc,sha256=9lJlAtKIDRoxpxvCL_oazLZCPhAW1Lh26soE-tZMVVk,2503
409
+ plexflow/core/torrents/auto/__pycache__/auto_torrents.cpython-312.pyc,sha256=rtkezji20w4qGE8aQQ-4ujQ7PbpBV6Ucxb-sLaE_Wvg,3610
410
410
  plexflow/core/torrents/auto/auto_providers/auto/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
411
411
  plexflow/core/torrents/auto/auto_providers/auto/__pycache__/__init__.cpython-311.pyc,sha256=qCFNPGmwyRmmvaF4ox321aGG3j1ix-HTZg8LA5kr0QE,197
412
412
  plexflow/core/torrents/auto/auto_providers/auto/__pycache__/__init__.cpython-312.pyc,sha256=vaXlU_2wadR_q6ZWmjygCqx4BjjtyYaHXzC5fD6CI1w,185
@@ -422,7 +422,7 @@ plexflow/core/torrents/auto/auto_providers/auto/__pycache__/show.cpython-311.pyc
422
422
  plexflow/core/torrents/auto/auto_providers/auto/__pycache__/show.cpython-312.pyc,sha256=845WWBpPiVLB9FIc4zJ_1NDw9WFhvFqS13Cc1aneGg8,1761
423
423
  plexflow/core/torrents/auto/auto_providers/auto/torrent.py,sha256=yenzXr-VqmpoEONJdMOKgtstdOSzCIAFphTTm8ZI7B4,1594
424
424
  plexflow/core/torrents/auto/auto_providers/tpb/torrent.py,sha256=8X2i75s3sI9rGcTQ94_0kNkO-7docR9P_I0BRAv7PUQ,1612
425
- plexflow/core/torrents/auto/auto_torrents.py,sha256=Raal3-ZK30o8hOvQrwiWYmiQy7zYkFcKTLi4wQi4K7k,1721
425
+ plexflow/core/torrents/auto/auto_torrents.py,sha256=cP98UKMaWRtqEHZmoSno-7nOpchPvpRme4YpJAH8wWc,2685
426
426
  plexflow/core/torrents/providers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
427
427
  plexflow/core/torrents/providers/__pycache__/__init__.cpython-311.pyc,sha256=8u9BzsXTcFt1MeuWCG0TjlyZaO7NJjsSfx_OUByR5rE,182
428
428
  plexflow/core/torrents/providers/__pycache__/__init__.cpython-312.pyc,sha256=z6zgerdghp5H7HSd9hi6ZdF3AVAFE92_eITQtdobJyI,168
@@ -714,7 +714,7 @@ plexflow/utils/video/__pycache__/audio.cpython-312.pyc,sha256=kmzGDCHSC1hWyHwRut
714
714
  plexflow/utils/video/__pycache__/subtitle.cpython-312.pyc,sha256=PCjpCLydGXaRsQy6cikhgsEs8WlComfOoYPiLFqfVMA,2515
715
715
  plexflow/utils/video/audio.py,sha256=Pd8OuQHX2QN-lc5iYkB0Vo1OEHmTcvDYH-uKud1f1q4,5262
716
716
  plexflow/utils/video/subtitle.py,sha256=qPvvBjlPj0fynJJvGJgGeKt9ey26R-cF6EoLaYt9iXU,1333
717
- plexflow-0.0.131.dist-info/METADATA,sha256=TtF9s3LrMhFwP08ejAELCphKk0mA8LTeXzBOM1ROBsE,2971
718
- plexflow-0.0.131.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
719
- plexflow-0.0.131.dist-info/entry_points.txt,sha256=9RJC3ikOQORHNOn573EdwJOBUnFU_4EGHbtNUM5pjjY,1557
720
- plexflow-0.0.131.dist-info/RECORD,,
717
+ plexflow-0.0.132.dist-info/METADATA,sha256=tMNMebSsdsldEkn03tNHttSwAt8ewZ-c4wXHB_At2Ik,2971
718
+ plexflow-0.0.132.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
719
+ plexflow-0.0.132.dist-info/entry_points.txt,sha256=9RJC3ikOQORHNOn573EdwJOBUnFU_4EGHbtNUM5pjjY,1557
720
+ plexflow-0.0.132.dist-info/RECORD,,