Thanks to visit codestin.com
Credit goes to github.com

Skip to content

cli: fix --show-matchers ignoring lazy plugins#6361

Merged
bastimeyer merged 1 commit into
streamlink:masterfrom
bastimeyer:cli/fix-show-matchers
Dec 28, 2024
Merged

cli: fix --show-matchers ignoring lazy plugins#6361
bastimeyer merged 1 commit into
streamlink:masterfrom
bastimeyer:cli/fix-show-matchers

Conversation

@bastimeyer

@bastimeyer bastimeyer commented Dec 28, 2024

Copy link
Copy Markdown
Member

Fixes #6360

$ cd $(mktemp -d)
$ python -m venv .
$ source ./bin/activate

$ pip install -U git+https://github.com/streamlink/[email protected] >/dev/null 2>&1
$ streamlink -V
streamlink 7.1.0
$ streamlink --show-matchers=twitch
error: Plugin not found

$ pip install -U git+https://github.com/bastimeyer/streamlink.git@cli/fix-show-matchers >/dev/null 2>&1
$ streamlink -V
streamlink 7.1.0+1.g11337165
$ streamlink --show-matchers=twitch
- name: live
  pattern: https?://(?:(?!clips\.)[\w-]+\.)?twitch\.tv/(?P<channel>(?!v(?:ideos?)?/|clip/)[^/?]+)/?(?:\?|$)
- name: vod
  pattern: https?://(?:[\w-]+\.)?twitch\.tv/(?:[\w-]+/)?v(?:ideos?)?/(?P<video_id>\d+)
- name: clip
  pattern: https?://(?:clips\.twitch\.tv|(?:[\w-]+\.)?twitch\.tv/(?:[\w-]+/)?clip)/(?P<clip_id>[^/?]+)
- name: player
  pattern: https?://player\.twitch\.tv/\?.+

@bastimeyer bastimeyer force-pushed the cli/fix-show-matchers branch from f474bef to 1133716 Compare December 28, 2024 17:04
@bastimeyer bastimeyer merged commit 3332fd0 into streamlink:master Dec 28, 2024
@bastimeyer bastimeyer deleted the cli/fix-show-matchers branch December 28, 2024 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

--show-matchers fails with lazy plugin loading

1 participant