mirror of
https://codeberg.org/polarisfm/youtube-dl.git
synced 2024-12-27 01:56:52 +00:00
[eighttracks] move test
This commit is contained in:
parent
0821771466
commit
5c5de1c79a
2 changed files with 71 additions and 71 deletions
|
@ -233,77 +233,6 @@
|
||||||
"duration": 279
|
"duration": 279
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "EightTracks",
|
|
||||||
"url": "http://8tracks.com/ytdl/youtube-dl-test-tracks-a",
|
|
||||||
"playlist": [
|
|
||||||
{
|
|
||||||
"file": "11885610.m4a",
|
|
||||||
"md5": "96ce57f24389fc8734ce47f4c1abcc55",
|
|
||||||
"info_dict": {
|
|
||||||
"title": "youtue-dl project<>\"' - youtube-dl test track 1 \"'/\\\u00e4\u21ad",
|
|
||||||
"uploader_id": "ytdl"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"file": "11885608.m4a",
|
|
||||||
"md5": "4ab26f05c1f7291ea460a3920be8021f",
|
|
||||||
"info_dict": {
|
|
||||||
"title": "youtube-dl project - youtube-dl test track 2 \"'/\\\u00e4\u21ad",
|
|
||||||
"uploader_id": "ytdl"
|
|
||||||
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"file": "11885679.m4a",
|
|
||||||
"md5": "d30b5b5f74217410f4689605c35d1fd7",
|
|
||||||
"info_dict": {
|
|
||||||
"title": "youtube-dl project as well - youtube-dl test track 3 \"'/\\\u00e4\u21ad",
|
|
||||||
"uploader_id": "ytdl"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"file": "11885680.m4a",
|
|
||||||
"md5": "4eb0a669317cd725f6bbd336a29f923a",
|
|
||||||
"info_dict": {
|
|
||||||
"title": "youtube-dl project as well - youtube-dl test track 4 \"'/\\\u00e4\u21ad",
|
|
||||||
"uploader_id": "ytdl"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"file": "11885682.m4a",
|
|
||||||
"md5": "1893e872e263a2705558d1d319ad19e8",
|
|
||||||
"info_dict": {
|
|
||||||
"title": "PH - youtube-dl test track 5 \"'/\\\u00e4\u21ad",
|
|
||||||
"uploader_id": "ytdl"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"file": "11885683.m4a",
|
|
||||||
"md5": "b673c46f47a216ab1741ae8836af5899",
|
|
||||||
"info_dict": {
|
|
||||||
"title": "PH - youtube-dl test track 6 \"'/\\\u00e4\u21ad",
|
|
||||||
"uploader_id": "ytdl"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"file": "11885684.m4a",
|
|
||||||
"md5": "1d74534e95df54986da7f5abf7d842b7",
|
|
||||||
"info_dict": {
|
|
||||||
"title": "phihag - youtube-dl test track 7 \"'/\\\u00e4\u21ad",
|
|
||||||
"uploader_id": "ytdl"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"file": "11885685.m4a",
|
|
||||||
"md5": "f081f47af8f6ae782ed131d38b9cd1c0",
|
|
||||||
"info_dict": {
|
|
||||||
"title": "phihag - youtube-dl test track 8 \"'/\\\u00e4\u21ad",
|
|
||||||
"uploader_id": "ytdl"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "Keek",
|
"name": "Keek",
|
||||||
"url": "http://www.keek.com/ytdl/keeks/NODfbab",
|
"url": "http://www.keek.com/ytdl/keeks/NODfbab",
|
||||||
|
|
|
@ -12,6 +12,77 @@ from ..utils import (
|
||||||
class EightTracksIE(InfoExtractor):
|
class EightTracksIE(InfoExtractor):
|
||||||
IE_NAME = '8tracks'
|
IE_NAME = '8tracks'
|
||||||
_VALID_URL = r'https?://8tracks.com/(?P<user>[^/]+)/(?P<id>[^/#]+)(?:#.*)?$'
|
_VALID_URL = r'https?://8tracks.com/(?P<user>[^/]+)/(?P<id>[^/#]+)(?:#.*)?$'
|
||||||
|
_TEST = {
|
||||||
|
u"name": u"EightTracks",
|
||||||
|
u"url": u"http://8tracks.com/ytdl/youtube-dl-test-tracks-a",
|
||||||
|
u"playlist": [
|
||||||
|
{
|
||||||
|
u"file": u"11885610.m4a",
|
||||||
|
u"md5": u"96ce57f24389fc8734ce47f4c1abcc55",
|
||||||
|
u"info_dict": {
|
||||||
|
u"title": u"youtue-dl project<>\"' - youtube-dl test track 1 \"'/\\\u00e4\u21ad",
|
||||||
|
u"uploader_id": u"ytdl"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
u"file": u"11885608.m4a",
|
||||||
|
u"md5": u"4ab26f05c1f7291ea460a3920be8021f",
|
||||||
|
u"info_dict": {
|
||||||
|
u"title": u"youtube-dl project - youtube-dl test track 2 \"'/\\\u00e4\u21ad",
|
||||||
|
u"uploader_id": u"ytdl"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
u"file": u"11885679.m4a",
|
||||||
|
u"md5": u"d30b5b5f74217410f4689605c35d1fd7",
|
||||||
|
u"info_dict": {
|
||||||
|
u"title": u"youtube-dl project as well - youtube-dl test track 3 \"'/\\\u00e4\u21ad",
|
||||||
|
u"uploader_id": u"ytdl"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
u"file": u"11885680.m4a",
|
||||||
|
u"md5": u"4eb0a669317cd725f6bbd336a29f923a",
|
||||||
|
u"info_dict": {
|
||||||
|
u"title": u"youtube-dl project as well - youtube-dl test track 4 \"'/\\\u00e4\u21ad",
|
||||||
|
u"uploader_id": u"ytdl"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
u"file": u"11885682.m4a",
|
||||||
|
u"md5": u"1893e872e263a2705558d1d319ad19e8",
|
||||||
|
u"info_dict": {
|
||||||
|
u"title": u"PH - youtube-dl test track 5 \"'/\\\u00e4\u21ad",
|
||||||
|
u"uploader_id": u"ytdl"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
u"file": u"11885683.m4a",
|
||||||
|
u"md5": u"b673c46f47a216ab1741ae8836af5899",
|
||||||
|
u"info_dict": {
|
||||||
|
u"title": u"PH - youtube-dl test track 6 \"'/\\\u00e4\u21ad",
|
||||||
|
u"uploader_id": u"ytdl"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
u"file": u"11885684.m4a",
|
||||||
|
u"md5": u"1d74534e95df54986da7f5abf7d842b7",
|
||||||
|
u"info_dict": {
|
||||||
|
u"title": u"phihag - youtube-dl test track 7 \"'/\\\u00e4\u21ad",
|
||||||
|
u"uploader_id": u"ytdl"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
u"file": u"11885685.m4a",
|
||||||
|
u"md5": u"f081f47af8f6ae782ed131d38b9cd1c0",
|
||||||
|
u"info_dict": {
|
||||||
|
u"title": u"phihag - youtube-dl test track 8 \"'/\\\u00e4\u21ad",
|
||||||
|
u"uploader_id": u"ytdl"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
mobj = re.match(self._VALID_URL, url)
|
mobj = re.match(self._VALID_URL, url)
|
||||||
|
|
Loading…
Reference in a new issue