mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-07 19:52:40 +01:00
[qqmusic] Fix code formatting
This commit is contained in:
parent
5e3915cbe3
commit
0392ac98d2
@ -89,7 +89,8 @@ def _real_extract(self, url):
|
|||||||
|
|
||||||
thumbnail_url = None
|
thumbnail_url = None
|
||||||
albummid = self._search_regex(
|
albummid = self._search_regex(
|
||||||
[r'albummid:\'([0-9a-zA-Z]+)\'', r'"albummid":"([0-9a-zA-Z]+)"'], detail_info_page, 'album mid', default=None)
|
[r'albummid:\'([0-9a-zA-Z]+)\'', r'"albummid":"([0-9a-zA-Z]+)"'],
|
||||||
|
detail_info_page, 'album mid', default=None)
|
||||||
if albummid:
|
if albummid:
|
||||||
thumbnail_url = "http://i.gtimg.cn/music/photo/mid_album_500/%s/%s/%s.jpg" \
|
thumbnail_url = "http://i.gtimg.cn/music/photo/mid_album_500/%s/%s/%s.jpg" \
|
||||||
% (albummid[-2:-1], albummid[-1], albummid)
|
% (albummid[-2:-1], albummid[-1], albummid)
|
||||||
|
Loading…
Reference in New Issue
Block a user