We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a1b59fd + 66623dc commit 38bb236Copy full SHA for 38bb236
1 file changed
collection/sites/yamusic.yml
@@ -0,0 +1,24 @@
1
+name: "Yandex Music"
2
+host: music.yandex.ru
3
+example: https://music.yandex.ru/album/5307396/track/38633706
4
+extract: "!music\\.yandex\\.ru(\\/album\\/(?'aid'\\d+)(\\/track\\/(?'tid'\\d+))?|\\/users\\/(?'uid'\\w+)\\/playlists\\/(?'pid'\\d+))!"
5
+choose:
6
+ when:
7
+ test: "@uid"
8
+ iframe:
9
+ height: "450"
10
+ width: "100%"
11
+ src: //music.yandex.ru/iframe/#playlist/{@uid}/{@pid}
12
+ otherwise:
13
+ choose:
14
15
+ test: "@tid"
16
17
+ height: "100"
18
19
+ src: //music.yandex.ru/iframe/#track/{@tid}/{@aid}
20
21
22
23
24
+ src: //music.yandex.ru/iframe/#album/{@aid}
0 commit comments