Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/emericg/OpenSubtitlesDownload
/ functions
Functions
30 in github.com/emericg/OpenSubtitlesDownload
⨍
Functions
30
◇
Types & classes
2
↓ 15 callers
Function
superPrint
Print messages through terminal, zenity or kdialog
OpenSubtitlesDownload.py:276
↓ 5 callers
Function
escapeGUI_zenity
(string)
OpenSubtitlesDownload.py:252
↓ 5 callers
Function
urllib_request_Request
Drop-in replacement for urllib.request.Request with OpenSubtitles rate limiting
OpenSubtitlesDownload.py:950
↓ 5 callers
Function
urllib_request_urlopen
Drop-in replacement for urllib.request.urlopen with rate limiting
OpenSubtitlesDownload.py:954
↓ 4 callers
Method
Request
Rate-limited replacement for urllib.request.Request with 429 handling Returns the actual response object, not just a Request object
OpenSubtitlesDownload.py:885
↓ 3 callers
Function
checkFileValidity
Check mimetype and/or file extension to detect valid video file
OpenSubtitlesDownload.py:155
↓ 3 callers
Function
checkSubtitlesExists
Check if a subtitles already exists for the current file
OpenSubtitlesDownload.py:179
↓ 3 callers
Function
searchSubtitles
(**kwargs)
OpenSubtitlesDownload.py:662
↓ 2 callers
Method
_parse_rate_limit_headers
Parse OpenSubtitles rate limit headers
OpenSubtitlesDownload.py:757
↓ 2 callers
Function
escapePath_wget
(string)
OpenSubtitlesDownload.py:266
↓ 1 callers
Method
_handle_429_retry
Handle 429 responses with proper retry logic
OpenSubtitlesDownload.py:821
↓ 1 callers
Method
_should_wait_for_api_limits
Check if we should wait based on API-provided rate limit info
OpenSubtitlesDownload.py:774
↓ 1 callers
Method
_wait_if_needed
Implement rate limiting logic with API feedback
OpenSubtitlesDownload.py:785
↓ 1 callers
Function
dependencyChecker
Check the availability of tools used as dependencies
OpenSubtitlesDownload.py:598
↓ 1 callers
Function
downloadSubtitles
(USER_TOKEN, subURL, subPath)
OpenSubtitlesDownload.py:709
↓ 1 callers
Function
escapeGUI_kdialog
(string)
OpenSubtitlesDownload.py:260
↓ 1 callers
Function
escapeGUI_title
(string)
OpenSubtitlesDownload.py:247
↓ 1 callers
Function
getSubtitlesInfo
(USER_TOKEN, file_id)
OpenSubtitlesDownload.py:683
↓ 1 callers
Function
getUserToken
(username, password)
OpenSubtitlesDownload.py:610
↓ 1 callers
Function
hashFile
Produce a hash for a video file: size + 64bit chksum of the first and last 64k (even if they overlap because the file is smaller than 128k)
OpenSubtitlesDownload.py:206
↓ 1 callers
Function
pythonChecker
Check the availability of Python 3.6 interpreter
OpenSubtitlesDownload.py:591
↓ 1 callers
Function
rate_limited_urlopen
Rate-limited replacement for urllib.request.urlopen
OpenSubtitlesDownload.py:928
↓ 1 callers
Function
selectionAuto
Automatic subtitles selection using filename match
OpenSubtitlesDownload.py:559
↓ 1 callers
Function
selectionCLI
Command Line Interface, subtitles selection inside your current terminal
OpenSubtitlesDownload.py:467
↓ 1 callers
Function
selectionGnome
GNOME subtitles selection window using zenity
OpenSubtitlesDownload.py:308
↓ 1 callers
Function
selectionKDE
KDE subtitles selection window using kdialog
OpenSubtitlesDownload.py:404
Method
Request
Drop-in replacement for urllib.request.Request This returns a Request object like the original, but the actual HTTP call happ
OpenSubtitlesDownload.py:907
Method
__init__
Rate-limited wrapper for urllib.request with OpenSubtitles 429 handling
OpenSubtitlesDownload.py:736
Method
__init__
(self, max_requests=10, time_window=60, min_delay=0.1, max_retries=1)
OpenSubtitlesDownload.py:904
Function
destroyUserToken
(USER_TOKEN)
OpenSubtitlesDownload.py:640