Skip to content

Commit f152aee

Browse files
authored
[Domains] Review calendar.google and 23video-hosted plugins (#645)
* 23video-hosted: remove direct twentythree.com test URLs * google.calendar: add newembed regexp * twitch.tv: update test URLs * twitch-live-fallback: update test URL * google.calendar: update regexp
1 parent cac1b4b commit f152aee

4 files changed

Lines changed: 13 additions & 11 deletions

File tree

plugins/domains/google.com/google.calendar.js

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export default {
22

33
re: [
4-
/^https?:\/\/(?:www|calendar)\.google\.com\/calendar\/(?:u\/\d+\/)?embed\/?\?(?:.+)$/i
4+
/^https?:\/\/(?:www|calendar)\.google\.com\/calendar\/(?:u\/\d+\/)?(?:new)?embed\/?\?(?:.+)$/i
55
],
66

77
mixins: ['*'],
@@ -18,7 +18,12 @@ export default {
1818
tests: [{
1919
noFeeds: true
2020
},
21-
'https://calendar.google.com/calendar/embed?ctz=America/Toronto&src=92600p5mb857b0t0jq0f6l8vpg%40group.calendar.google.com',
22-
'https://calendar.google.com/calendar/u/0/embed?ctz=America/Toronto&src=92600p5mb857b0t0jq0f6l8vpg%40group.calendar.google.com'
21+
"https://calendar.google.com/calendar/embed?ctz=America/Toronto&src=92600p5mb857b0t0jq0f6l8vpg%40group.calendar.google.com",
22+
"https://calendar.google.com/calendar/embed?src=studio.prolight@gmail.com&ctz=Europe/Moscow",
23+
"https://calendar.google.com/calendar/u/0/embed?ctz=America/Toronto&src=92600p5mb857b0t0jq0f6l8vpg%40group.calendar.google.com",
24+
"https://calendar.google.com/calendar/u/0/embed?src=en.dutch%23holiday@group.v.calendar.google.com&ctz=Europe/Amsterdam",
25+
26+
"https://calendar.google.com/calendar/newembed?ctz=America/Toronto&src=92600p5mb857b0t0jq0f6l8vpg%40group.calendar.google.com",
27+
"https://calendar.google.com/calendar/u/0/newembed?ctz=America/Toronto&src=92600p5mb857b0t0jq0f6l8vpg@group.calendar.google.com"
2328
]
2429
};

plugins/domains/twitch.tv/twitch-live-fallback.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,6 @@ export default {
4141
},
4242
"https://www.twitch.tv/ninja?parent=localhost",
4343
"https://www.twitch.tv/videos/520219960?parent=localhost",
44-
"https://www.twitch.tv/videos/2686933296?parent=localhost"
44+
"https://www.twitch.tv/videos/518899202?parent=localhost"
4545
]
4646
};

plugins/domains/twitch.tv/twitch.tv.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export default {
9292
skipMethods: ['getMeta']
9393
},
9494
"https://www.twitch.tv/videos/2687468093?parent=localhost",
95-
"https://www.twitch.tv/videos/2687577687?parent=localhost",
96-
"https://www.twitch.tv/videos/2686634881?parent=localhost"
95+
"https://www.twitch.tv/videos/2744543090?parent=localhost",
96+
"https://www.twitch.tv/videos/2743884407?parent=localhost"
9797
]
9898
};

plugins/links/hosted/23video-hosted.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,8 @@ export default {
1818

1919
tests: [
2020
"https://video.itu.dk/live/13796543",
21-
"https://video.ku.dk/visual-social-media-lab-farida-vis-anne",
22-
"https://video.twentythree.net/intro-to-twentythrees-player-builder",
23-
"https://www.fftv.no/skipatruljen-s3e3-voss-resort",
24-
"https://videos.23video.com/novo-nordisk",
21+
"https://video.ku.dk/video/11827941/visual-social-media-lab-farida-vis-anne",
2522
"https://video.nextconf.eu/video/1880845/data-without-limits",
26-
// "http://videos.theconference.se/paul-adams-solving-real-world-problems", 503
23+
"https://www.fftv.no/skipatruljen-s3e3-voss-resort",
2724
]
2825
};

0 commit comments

Comments
 (0)