Plugin cleanup and tweaks
This commit is contained in:
@@ -1,6 +1,3 @@
|
||||
# coding: utf-8
|
||||
from __future__ import unicode_literals
|
||||
|
||||
import re
|
||||
|
||||
from .common import InfoExtractor
|
||||
@@ -107,7 +104,6 @@ class KuwoIE(KuwoBaseIE):
|
||||
lrc_content = None
|
||||
|
||||
formats = self._get_formats(song_id)
|
||||
self._sort_formats(formats)
|
||||
|
||||
album_id = self._html_search_regex(
|
||||
r'<a[^>]+href="http://www\.kuwo\.cn/album/(\d+)/"',
|
||||
@@ -342,8 +338,6 @@ class KuwoMvIE(KuwoBaseIE):
|
||||
'format_id': 'mv',
|
||||
})
|
||||
|
||||
self._sort_formats(formats)
|
||||
|
||||
return {
|
||||
'id': song_id,
|
||||
'title': song_name,
|
||||
|
Reference in New Issue
Block a user