1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-12-11 16:15:46 +01:00

8tracks: Better default titles

This commit is contained in:
Philipp Hagemeister 2013-01-27 04:05:53 +01:00
parent d0d51a8afa
commit da4de959df
2 changed files with 14 additions and 11 deletions

View File

@ -244,57 +244,59 @@
"file": "11885610.m4a",
"md5": "96ce57f24389fc8734ce47f4c1abcc55",
"info_dict": {
"title": "youtube-dl test track 1 \"'/\\\u00e4\u21ad",
"uploader": "youtue-dl project<>\"'"
"title": "youtue-dl project<>\"' - youtube-dl test track 1 \"'/\\\u00e4\u21ad",
"uploader_id": "ytdl"
}
},
{
"file": "11885608.m4a",
"md5": "4ab26f05c1f7291ea460a3920be8021f",
"info_dict": {
"title": "youtube-dl test track 2 \"'/\\\u00e4\u21ad"
"title": "youtube-dl project - youtube-dl test track 2 \"'/\\\u00e4\u21ad",
"uploader_id": "ytdl"
}
},
{
"file": "11885679.m4a",
"md5": "d30b5b5f74217410f4689605c35d1fd7",
"info_dict": {
"title": "youtube-dl test track 3 \"'/\\\u00e4\u21ad"
"title": "youtube-dl project as well - youtube-dl test track 3 \"'/\\\u00e4\u21ad"
}
},
{
"file": "11885680.m4a",
"md5": "4eb0a669317cd725f6bbd336a29f923a",
"info_dict": {
"title": "youtube-dl test track 4 \"'/\\\u00e4\u21ad"
"title": "youtube-dl project as well - youtube-dl test track 4 \"'/\\\u00e4\u21ad"
}
},
{
"file": "11885682.m4a",
"md5": "1893e872e263a2705558d1d319ad19e8",
"info_dict": {
"title": "youtube-dl test track 5 \"'/\\\u00e4\u21ad"
"title": "PH - youtube-dl test track 5 \"'/\\\u00e4\u21ad"
}
},
{
"file": "11885683.m4a",
"md5": "b673c46f47a216ab1741ae8836af5899",
"info_dict": {
"title": "youtube-dl test track 6 \"'/\\\u00e4\u21ad"
"title": "PH - youtube-dl test track 6 \"'/\\\u00e4\u21ad"
}
},
{
"file": "11885684.m4a",
"md5": "1d74534e95df54986da7f5abf7d842b7",
"info_dict": {
"title": "youtube-dl test track 7 \"'/\\\u00e4\u21ad"
"title": "phihag - youtube-dl test track 7 \"'/\\\u00e4\u21ad"
}
},
{
"file": "11885685.m4a",
"md5": "f081f47af8f6ae782ed131d38b9cd1c0",
"info_dict": {
"title": "youtube-dl test track 8 \"'/\\\u00e4\u21ad"
"title": "phihag - youtube-dl test track 8 \"'/\\\u00e4\u21ad"
}
}
]

View File

@ -3892,8 +3892,9 @@ class EightTracksIE(InfoExtractor):
info = {
'id': track_data['id'],
'url': track_data['track_file_stream_url'],
'title': track_data['name'],
'uploader': track_data['performer'],
'title': track_data['performer'] + u' - ' + track_data['name'],
'raw_title': track_data['name'],
'uploader_id': data['user']['login'],
'ext': 'm4a',
}
res.append(info)