Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ImAleeexx/streamlink-drm
/ functions
Functions
2,287 in github.com/ImAleeexx/streamlink-drm
⨍
Functions
2,287
◇
Types & classes
769
↳
Endpoints
112
↓ 872 callers
Method
get
(items, condition)
src/streamlink/plugins/tvp.py:124
↓ 195 callers
Method
format
(self, string: str, defaults: Optional[Dict[str, str]] = None)
src/streamlink/utils/formatter.py:61
↓ 188 callers
Method
validate
(self, value, name="result", exception=PluginError)
src/streamlink/plugin/api/validate/_validate.py:31
↓ 153 callers
Method
url
(self)
src/streamlink/plugins/filmon.py:70
↓ 132 callers
Method
items
(self)
src/streamlink/options.py:72
↓ 131 callers
Method
parse_variant_playlist
(cls, *args, **kwargs)
src/streamlink/plugins/ltv_lsm_lv.py:49
↓ 129 callers
Method
get
(self, key: str, default: Optional[Any] = None)
src/streamlink/cache.py:95
↓ 107 callers
Method
join
(url: str, other: str)
src/streamlink/stream/dash_manifest.py:434
↓ 64 callers
Function
assert_validationerror
(exception, expected)
tests/test_api_validate.py:14
↓ 63 callers
Method
attr
( # type: ignore[misc] # "Overloaded function signatures 1 and 2 overlap with incompatible return types"
src/streamlink/stream/dash_manifest.py:199
↓ 62 callers
Method
append
(indentation, error)
src/streamlink/plugin/api/validate/_exception.py:40
↓ 57 callers
Method
update
(self, matchers: Matchers, value: str)
src/streamlink/plugin/plugin.py:212
↓ 56 callers
Method
json
Parses JSON from a response.
src/streamlink/plugin/api/http_session.py:115
↓ 51 callers
Method
get_option
(cls, key)
src/streamlink/plugin/plugin.py:363
↓ 45 callers
Method
set
(self, key: TCacheKey, value: TCacheValue)
src/streamlink/utils/cache.py:20
↓ 44 callers
Method
start
(self)
tests/mixins/stream_hls.py:304
↓ 43 callers
Method
await_write
(self, write_calls=1, timeout=TIMEOUT_AWAIT_WRITE)
tests/mixins/stream_hls.py:263
↓ 43 callers
Method
values
(self)
src/streamlink/options.py:69
↓ 40 callers
Method
format
(self, record)
src/streamlink/logger.py:120
↓ 40 callers
Method
set
(self, key: str, value: Any, expires: float = 60 * 60 * 24 * 7, expires_at: Optional[datetime] = None)
src/streamlink/cache.py:77
↓ 39 callers
Method
keys
(self)
src/streamlink/options.py:66
↓ 38 callers
Method
set_option
Sets general options used by plugins and streams originating from this session object. :param key: key of the option :param
src/streamlink/session.py:260
↓ 37 callers
Method
await_read
(self, read_all=False, timeout=TIMEOUT_AWAIT_READ)
tests/mixins/stream_hls.py:270
↓ 34 callers
Method
read
(self, *args)
tests/cli/test_streamrunner.py:49
↓ 32 callers
Method
parse_manifest
Parse a DASH manifest file and return its streams. :param session: Streamlink session instance :param url_or_manifest: URL o
src/streamlink/stream/dash.py:262
↓ 32 callers
Function
update_qsd
Update or remove keys from a query string in a URL :param url: URL to update :param qsd: dict of keys to update, a None value leaves it
src/streamlink/utils/url.py:102
↓ 30 callers
Method
append
(self, item)
tests/utils/test_processoutput.py:25
↓ 30 callers
Method
exit
(self, msg: str)
src/streamlink_cli/console.py:88
↓ 29 callers
Function
assert_handshake_steps
Run handshake steps concurrently, to not be dependent too much on implementation details and the order of handshakes. For example, concurrent
tests/cli/test_streamrunner.py:136
↓ 29 callers
Function
validate
(schema, value)
src/streamlink/plugin/api/validate/_validate.py:42
↓ 28 callers
Method
_test_args
(args, commandline, passthrough=False, exit_code=0)
tests/cli/test_cmdline.py:18
↓ 28 callers
Function
update_scheme
Take the scheme from the current URL and apply it to the target URL if it is missing :param current: current URL :param target: target UR
src/streamlink/utils/url.py:25
↓ 27 callers
Function
stream_weight
(stream)
src/streamlink/plugin/plugin.py:82
↓ 26 callers
Method
called
(self, item, once=False)
tests/mixins/stream_hls.py:232
↓ 26 callers
Method
extend
(self, iterable: Iterable)
tests/utils/test_processoutput.py:29
↓ 26 callers
Method
get_option
Returns the current value of the specified option. :param key: key of the option
src/streamlink/session.py:505
↓ 24 callers
Method
url
(self, namespace)
tests/stream/test_hls.py:69
↓ 24 callers
Method
wait_ready
Wait for producer thread to be ready and return whether it is ready or not.
tests/testutils/handshake.py:56
↓ 24 callers
Method
write
(self, data)
tests/cli/test_streamrunner.py:65
↓ 23 callers
Method
content
(segments, prop="content", cond=None)
tests/mixins/stream_hls.py:240
↓ 23 callers
Method
subject
(self, playlist, options=None)
tests/stream/test_hls.py:94
↓ 22 callers
Method
clear
(self)
src/streamlink/options.py:34
↓ 22 callers
Method
datetime
(dt: str)
src/streamlink/stream/dash_manifest.py:124
↓ 22 callers
Method
update
(self, options: Mapping[str, Any])
src/streamlink/options.py:62
↓ 21 callers
Function
hours_minutes_seconds
converts a timestamp to seconds - hours:minutes:seconds to seconds - minutes:seconds to seconds - 11h22m33s to seconds - 11h
src/streamlink/utils/times.py:43
↓ 21 callers
Function
parse_json
Wrapper around json.loads. Provides these extra features: - Wraps errors in custom exception with a snippet of the data in the message
src/streamlink/utils/parse.py:26
↓ 21 callers
Method
subject
(self)
tests/cli/test_main.py:905
↓ 21 callers
Method
wait
Pause the thread for a specified time. Return False if interrupted by another thread and True if the time runs out normally.
src/streamlink/stream/segmented.py:45
↓ 20 callers
Method
subject
(self, load_plugins=True)
tests/test_session.py:46
↓ 19 callers
Method
go
Allow producer thread to run.
tests/testutils/handshake.py:52
↓ 19 callers
Method
subject
(self, **params)
tests/plugins/test_twitch.py:746
↓ 19 callers
Method
supported_player
Check if the current player supports adding a title :param cmd: command to test :return: name of the player|None
src/streamlink_cli/output/player.py:65
↓ 17 callers
Method
close
(self)
tests/mixins/stream_hls.py:308
↓ 17 callers
Function
replace_chars
(path: str, charmap: Optional[str] = None, replacement: str = REPLACEMENT)
src/streamlink_cli/utils/path.py:23
↓ 17 callers
Function
xml
(path, encoding="utf8")
tests/resources/__init__.py:36
↓ 16 callers
Method
children
( self, cls: Type[TMPDNode], minimum: int = 0, maximum: Optional[int] = None,
src/streamlink/stream/dash_manifest.py:260
↓ 16 callers
Method
close
(self)
src/streamlink_cli/output/abc.py:12
↓ 16 callers
Function
parse_xml
Wrapper around lxml.etree.XML with some extras. Provides these extra features: - Handles incorrectly encoded XML - Allows stripping nam
src/streamlink/utils/parse.py:60
↓ 16 callers
Method
resolve_url
Attempts to find a plugin that can use this URL. The default protocol (https) will be prefixed to the URL if not specified.
src/streamlink/session.py:540
↓ 15 callers
Method
await_close
(self, timeout=TIMEOUT_AWAIT_CLOSE)
tests/mixins/stream_hls.py:245
↓ 15 callers
Function
num
( numtype: Type[float], ge: Optional[float] = None, gt: Optional[float] = None, le: Optional[f
src/streamlink/utils/args.py:62
↓ 15 callers
Method
wait_done
Wait for producer thread to be done and return whether it is done or not. If an exception was captured, raise it.
tests/testutils/handshake.py:60
↓ 14 callers
Method
__init__
(self, *args, url: Optional[str] = None, **kwargs)
src/streamlink/stream/dash_manifest.py:329
↓ 14 callers
Method
add_argument_group
( self, *args, parent: Optional[argparse._ArgumentGroup] = None, **kwargs,
src/streamlink_cli/argparser.py:41
↓ 14 callers
Method
shortname
(cls)
src/streamlink/stream/stream.py:20
↓ 14 callers
Method
streams
(self, *args, **kwargs)
tests/cli/test_main.py:43
↓ 13 callers
Function
boolean
(value)
src/streamlink/utils/args.py:14
↓ 13 callers
Method
json
(self)
src/streamlink/stream/stream.py:44
↓ 13 callers
Method
segments
(self)
tests/stream/test_dash.py:353
↓ 13 callers
Method
step
Allow producer thread to run, wait for it to complete and return whether it has finished or not.
tests/testutils/handshake.py:72
↓ 12 callers
Function
assert_thread_termination
(thread: Thread, assertion: str)
tests/cli/test_streamrunner.py:148
↓ 12 callers
Function
create_output
Decides where to write the stream. Depending on arguments it can be one of these: - The stdout pipe - A subprocess' stdin pipe - A
src/streamlink_cli/main.py:82
↓ 12 callers
Method
get_explicit
(self, key: str)
src/streamlink/options.py:46
↓ 12 callers
Method
is_paused
(self)
src/streamlink/stream/filtered.py:37
↓ 12 callers
Method
msg
(self, msg: str)
src/streamlink_cli/console.py:51
↓ 12 callers
Method
msg_json
(self, *objs: Any, **keywords: Any)
src/streamlink_cli/console.py:56
↓ 12 callers
Method
only_child
( self, cls: Type[TMPDNode], minimum: int = 0, **kwargs, )
src/streamlink/stream/dash_manifest.py:276
↓ 12 callers
Function
resolve_stream_name
Returns the real stream name of a synonym.
src/streamlink_cli/main.py:479
↓ 11 callers
Method
get_plugin_option
Returns the current value of the plugin specific option. :param plugin: name of the plugin :param key: key of the option
src/streamlink/session.py:527
↓ 11 callers
Method
subject
(self, *args, **kwargs)
tests/stream/test_hls.py:618
↓ 11 callers
Method
wait_free
(self, timeout=None)
src/streamlink/buffers.py:141
↓ 10 callers
Method
gen_key
( self, aes_key=None, aes_iv=None, method="AES-128", uri=None,
tests/stream/test_hls.py:402
↓ 10 callers
Method
get_representation
Find the first Representation instance with a matching ident
src/streamlink/stream/dash_manifest.py:406
↓ 10 callers
Method
mock
(self, method, url, *args, **kwargs)
tests/mixins/stream_hls.py:226
↓ 10 callers
Function
now
(tz: tzinfo = UTC)
src/streamlink/utils/times.py:10
↓ 10 callers
Method
save_cookies
Store the cookies from :attr:`session.http` in the plugin cache until they expire. The cookies can be filtered by supplying a filter
src/streamlink/plugin/plugin.py:547
↓ 10 callers
Method
streams
Attempts to extract available streams. Returns a :class:`dict` containing the streams, where the key is the name of the stre
src/streamlink/plugin/plugin.py:386
↓ 10 callers
Method
subject
(self, argv, stream=None)
tests/cli/test_main.py:608
↓ 10 callers
Method
time
(self)
src/streamlink/plugins/streann.py:77
↓ 10 callers
Method
to_url
(self)
src/streamlink/stream/stream.py:48
↓ 10 callers
Method
update
(self)
src/streamlink_cli/utils/progress.py:259
↓ 10 callers
Method
wait
(self, time)
tests/mixins/stream_hls.py:106
↓ 9 callers
Function
check_file_output
Checks if file already exists and ask the user if it should be overwritten if it does.
src/streamlink_cli/main.py:63
↓ 9 callers
Function
check_version
(force: bool = False)
src/streamlink_cli/utils/versioncheck.py:37
↓ 9 callers
Method
get
(cls, country)
src/streamlink/utils/l10n.py:24
↓ 9 callers
Method
open
(self)
src/streamlink_cli/output/abc.py:8
↓ 9 callers
Method
open
(self)
tests/plugin/testplugin.py:16
↓ 9 callers
Method
print_inplace
Clears the previous line and prints a new one.
src/streamlink_cli/utils/progress.py:287
↓ 9 callers
Method
resolve_url_no_redirect
Attempts to find a plugin that can use this URL. The default protocol (https) will be prefixed to the URL if not specified.
src/streamlink/session.py:599
↓ 9 callers
Method
wait_used
(self, timeout=None)
src/streamlink/buffers.py:144
next →
1–100 of 2,287, ranked by callers