Viagame.com new URL scheme #617

Closed
Vilkku opened this Issue Nov 27, 2014 · 3 comments

Comments

Projects
None yet
5 participants
@Vilkku

Vilkku commented Nov 27, 2014

It seems like the URL scheme for viagame.com has changed - even direct links to channels no longer include a numeric ID but a channel name instead (e.g. http://www.viagame.com/channels/dreamhack-hearthstone-championship/live-dreamhack-hearthstone-championship-english). Livestreamer 1.10.2 is unable to handle these URLs.

@fixpont

This comment has been minimized.

Show comment
Hide comment
@fixpont

fixpont Nov 27, 2014

yepp, there are some problems

[cli][info] Found matching plugin viasat for URL http://www.viagame.com/channels/dreamhack-hearthstone-championship/live-dreamhack-hearthstone-championship-english/0/en
error: Unable to open URL: http://playapi.mtgx.tv/v1/videos/stream/0 (404 Client Error: Not Found)

fixpont commented Nov 27, 2014

yepp, there are some problems

[cli][info] Found matching plugin viasat for URL http://www.viagame.com/channels/dreamhack-hearthstone-championship/live-dreamhack-hearthstone-championship-english/0/en
error: Unable to open URL: http://playapi.mtgx.tv/v1/videos/stream/0 (404 Client Error: Not Found)

@thedreka

This comment has been minimized.

Show comment
Hide comment
@thedreka

thedreka Nov 27, 2014

The correct stream IDs are a bit more obfuscated, the plugin definitely needs some channel support to help.

For anyone else who gets here for the specific stream mentioned in the issue above, one of these should work (although who knows for how long):

livestreamer "http://www.viagame.com/channels/dreamhack-hearthstone-championship/live-dreamhack-hearthstone-championship-english/455861" best

livestreamer "hlsvariant://http://mtgx_esport_live-lh.akamaihd.net/i/esport5_0@196714/master.m3u8" best

The correct stream IDs are a bit more obfuscated, the plugin definitely needs some channel support to help.

For anyone else who gets here for the specific stream mentioned in the issue above, one of these should work (although who knows for how long):

livestreamer "http://www.viagame.com/channels/dreamhack-hearthstone-championship/live-dreamhack-hearthstone-championship-english/455861" best

livestreamer "hlsvariant://http://mtgx_esport_live-lh.akamaihd.net/i/esport5_0@196714/master.m3u8" best

@user5682

This comment has been minimized.

Show comment
Hide comment
@user5682

user5682 Nov 27, 2014

For anyone who wants to know how to get that number 455861 in the above post for a different stream, or if the stream url changes:

view source of http://www.viagame.com/channels/dreamhack-hearthstone-championship/live-dreamhack-hearthstone-championship-english
ctrl+f for <meta itemprop="embedURL" content="http://www.viagame.com/embed/
get the number after it (in this case 5475e22d2639fd0b0066538d)
ctrl+f for 5475e22d2639fd0b0066538d\",\"play_id\":\
455861 is the number after

For anyone who wants to know how to get that number 455861 in the above post for a different stream, or if the stream url changes:

view source of http://www.viagame.com/channels/dreamhack-hearthstone-championship/live-dreamhack-hearthstone-championship-english
ctrl+f for <meta itemprop="embedURL" content="http://www.viagame.com/embed/
get the number after it (in this case 5475e22d2639fd0b0066538d)
ctrl+f for 5475e22d2639fd0b0066538d\",\"play_id\":\
455861 is the number after

@chrippa chrippa closed this in be05c3a Dec 9, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment