mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-06-28 01:18:30 +00:00
style: line breaks
This commit is contained in:
parent
84ef9661aa
commit
c0fd87eb4b
@ -832,7 +832,8 @@ def _real_extract(self, url):
|
|||||||
# copied regex from VKWallPostIE
|
# copied regex from VKWallPostIE
|
||||||
# XXX: common code should be unified, moved to a class
|
# XXX: common code should be unified, moved to a class
|
||||||
data_audio = self._search_regex(
|
data_audio = self._search_regex(
|
||||||
r'data-audio="([^"]+)', webpage, 'data-audio attr', group=1)
|
r'data-audio="([^"]+)',
|
||||||
|
webpage, 'data-audio attr', group=1)
|
||||||
|
|
||||||
meta = self._parse_json(unescapeHTML(data_audio), track_id)
|
meta = self._parse_json(unescapeHTML(data_audio), track_id)
|
||||||
one_more_id = meta[24]
|
one_more_id = meta[24]
|
||||||
@ -885,8 +886,7 @@ def _real_extract(self, url):
|
|||||||
audio_url = f'https://vk.com/audio{track_id}'
|
audio_url = f'https://vk.com/audio{track_id}'
|
||||||
|
|
||||||
entries.append(self.url_result(
|
entries.append(self.url_result(
|
||||||
audio_url, VKMusicIE, track_id, title,
|
audio_url, VKMusicIE, track_id, title, **info))
|
||||||
**info))
|
|
||||||
|
|
||||||
artist = meta.get('authorName')
|
artist = meta.get('authorName')
|
||||||
thumbnail = meta.get('coverUrl')
|
thumbnail = meta.get('coverUrl')
|
||||||
|
Loading…
Reference in New Issue
Block a user