Zod- / jsVideoUrlParser

A javascript parser to extract informations like provider, channel, id, start time from YouTube, Vimeo, Dailymotion, Twitch,... urls
MIT License
234 stars 73 forks source link

Twitch Parser Issue #47

Closed markoj3s closed 5 years ago

markoj3s commented 5 years ago

Hi Zod-,

I just noticed that for twitch links,

https://www.twitch.tv/<username>/clip/<clip name>

is returning a mediaType "stream" instead of "clip".

Zod- commented 5 years ago

Looks like a new format, I'll add it

Zod- commented 5 years ago

it's considering it a stream because it has the username as well. It actually gets the id properly but since I didn't see both the username and id in the urls before I didn't consider that case. Not really sure how to do this right now without remaking some parts.

Zod- commented 5 years ago

Added in 6507574d562e0bf4055c9a4f537a04530e0dd88a

Zod- commented 5 years ago

Released in 0.3.2