소스 검색

[myspace] Add more data to info dict
`uploader` is an artist
`playlist` is an album

Tithen-Firion 11 년 전
부모
커밋
03fd72d996
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      youtube_dl/extractor/myspace.py

+ 2 - 0
youtube_dl/extractor/myspace.py

@@ -60,7 +60,9 @@ class MySpaceIE(InfoExtractor):
             info = {
                 'id': video_id,
                 'title': self._og_search_title(webpage),
+                'uploader': search_data('artist-name'),
                 'uploader_id': search_data('artist-username'),
+                'playlist': search_data('album-title'),
                 'thumbnail': self._og_search_thumbnail(webpage),
             }
         else: