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

Skip to content

plugins.youtube: 'gaming' subdomain (Could not find a video on this page) #2245

Description

@back-to

Plugin Issue

  • This is a plugin issue and I have read the contribution guidelines.

Description

The html code on gaming subdomains changed,
the changes in 1746 are not compatible anymore

Reproduction steps / Explicit stream URLs to test

Log output

[cli][debug] OS:         Linux
[cli][debug] Python:     3.6.7
[cli][debug] Streamlink: 0.14.2+197.g42b8edd
[cli][debug] Requests(2.21.0), Socks(1.6.7), Websocket(0.54.0)
[cli][info] Found matching plugin youtube for URL https://gaming.youtube.com/channel/UCq9e_hCv2jvgck8WowW1NXg/live
error: Could not find a video on this page

Additional comments, screenshots, etc.

possible solutions

a second _ytdata_re for the changes on gaming subdomains

_ytdata_re = re.compile(r'window\["ytInitialData"\]\s*=\s*({.*?});', re.DOTALL)

or easier change gaming to www in self.url

Metadata

Metadata

Assignees

No one assigned

    Labels

    plugin issueA Plugin does not work correctly

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions