Coder Social home page Coder Social logo

vagabondhustler / subsearch Goto Github PK

View Code? Open in Web Editor NEW
36.0 1.0 3.0 8.82 MB

Download subtitles for movies and shows, automatically with one easy mouse click.

Home Page: https://pypi.org/project/subsearch/

License: MIT License

Python 93.60% Tcl 4.92% JavaScript 1.49%
subtitles srt-subtitles subtitle-downloader tv-subtitle movie-subtitle search-subtitles subscene exe opensubtitles yifysubtitles

subsearch's Issues

[REQUEST] - Foreign Only Option

Is your feature request related to a problem? Please describe.
Ability to download only the subtitles that are foreign only
Describe the solution you'd like
Adding a search option to allow for only downloading Foreign only (I know subscene.com has this option as a valid filter)

Describe alternatives you've considered
Downloading the foreign only manually one at a time

Additional context
Add any other context or screenshots about the feature request here.

[BUG] FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\mertc\\AppData\\Local\\Subsearch\\config.toml'

Traceback (most recent call last):
  File "C:\Users\mertc\miniconda3\lib\runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Users\mertc\miniconda3\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "C:\Users\mertc\miniconda3\Scripts\subsearch.exe\__main__.py", line 7, in <module>
  File "C:\Users\mertc\miniconda3\lib\site-packages\subsearch\utils\decorators.py", line 31, in inner
    return func(*args, **kwargs)
  File "C:\Users\mertc\miniconda3\lib\site-packages\subsearch\__init__.py", line 65, in main
    app = Subsearch()
  File "C:\Users\mertc\miniconda3\lib\site-packages\subsearch\__init__.py", line 20, in __init__
    self.subsearch_core = core.SubsearchCore(PREF_COUNTER)
  File "C:\Users\mertc\miniconda3\lib\site-packages\subsearch\core.py", line 85, in __init__
    Initializer.__init__(self, pref_counter)
  File "C:\Users\mertc\miniconda3\lib\site-packages\subsearch\core.py", line 23, in __init__
    self.setup_file_system()
  File "C:\Users\mertc\miniconda3\lib\site-packages\subsearch\core.py", line 65, in setup_file_system
    io_toml.resolve_on_integrity_failure()
  File "C:\Users\mertc\miniconda3\lib\site-packages\subsearch\utils\io_toml.py", line 77, in resolve_on_integrity_failure
    dump_toml_data(FILE_PATHS.config, DEFAULT_CONFIG)
  File "C:\Users\mertc\miniconda3\lib\site-packages\subsearch\utils\io_toml.py", line 24, in dump_toml_data
    with open(toml_file_path, "w") as f:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\mertc\\AppData\\Local\\Subsearch\\config.toml'

add option to disable `subsearch.log`

Hi, thank you for making this amazing tool

can we have an option to allow user to disable writing logs to a file subsearch.log in every directory?

[REQUEST] Delete empty sub folder

a great tool, i used to use subliminal as a command in the context menu on windows, but this tool is newer and better.

however is it possible to avoid the creation of the sub folder, or delete it if empty. not sure for what it is needed.

Implement foreign language-only filter

Originally suggested in Issue #422

Adding a search option to allow for only downloading Foreign only (I know subscene.com has this option as a valid filter)

  • #433
  • #486
  • Implement a foreign language-only filter for yifysubtitles.vip (If possible)

how to use the python script as module?

hey, i'm trying to write a python script and would really like to use your script in it,
how to use your script as module and what are the arguments i can pass?

launch error

when I run executable, I get this error:
Traceback (most recent call last):
File "subsearch_main_.py ", line 3, in
File "subsearch_init_.py ", line 114, in main
File "subsearch_init_.py ", line 19, in init
File "subsearch_subsearch_.py ", line 82, in init
File "subsearch\utils\raw_registry.py ", line 131, in add_context_menu
File "subsearch\utils\raw_registry.py ", line 20, in write_keys
FileNotFoundError: [WinError 2] The specified file cannot be found

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.