mirror of https://github.com/calzoneman/sync.git
Fix #790
This commit is contained in:
parent
96bf3df928
commit
c5b122bcf8
|
@ -2,7 +2,7 @@
|
|||
"author": "Calvin Montgomery",
|
||||
"name": "CyTube",
|
||||
"description": "Online media synchronizer and chat",
|
||||
"version": "3.63.5",
|
||||
"version": "3.63.6",
|
||||
"repository": {
|
||||
"url": "http://github.com/calzoneman/sync"
|
||||
},
|
||||
|
|
|
@ -1316,6 +1316,14 @@ function parseMediaLink(url) {
|
|||
};
|
||||
}
|
||||
|
||||
// #790
|
||||
if ((m = url.match(/twitch\.tv\/(?:.*?)\/clip\/([A-Za-z]+)/))) {
|
||||
return {
|
||||
id: m[1],
|
||||
type: "tc"
|
||||
}
|
||||
}
|
||||
|
||||
if((m = url.match(/twitch\.tv\/(?:.*?)\/([cv])\/(\d+)/))) {
|
||||
return {
|
||||
id: m[1] + m[2],
|
||||
|
|
Loading…
Reference in New Issue