1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-12-02 05:07:55 +01:00

remove unecessary 're' import and ran flake8

This commit is contained in:
quinlander 2019-04-15 17:43:21 -04:00
parent 159a2cff27
commit 8ac9af1ce2

View File

@ -3,7 +3,6 @@ from __future__ import unicode_literals
from .common import InfoExtractor from .common import InfoExtractor
import re
class ChangbaIE(InfoExtractor): class ChangbaIE(InfoExtractor):
_VALID_URL = r'https?://(?:www\.)?changba\.com/s/(?P<id>[0-9A-Za-z-_]+)' _VALID_URL = r'https?://(?:www\.)?changba\.com/s/(?P<id>[0-9A-Za-z-_]+)'
@ -15,8 +14,7 @@ class ChangbaIE(InfoExtractor):
'ext': 'mp4', 'ext': 'mp4',
'title': '对你爱不完【炫酷慢摇】 ', 'title': '对你爱不完【炫酷慢摇】 ',
} }
}, }, {
{
'url': 'http://changba.com/s/nZqfbS_vCnieNNjJ7UiEGw?', 'url': 'http://changba.com/s/nZqfbS_vCnieNNjJ7UiEGw?',
'md5': 'e401463ffb03ed8900a0bccc641335e1', 'md5': 'e401463ffb03ed8900a0bccc641335e1',
'info_dict': { 'info_dict': {
@ -24,8 +22,7 @@ class ChangbaIE(InfoExtractor):
'ext': 'mp3', 'ext': 'mp3',
'title': '下雪 ', 'title': '下雪 ',
} }
}, }, {
{
'url': 'http://changba.com/s/CPiNWbAa1qy0po0llqIJbg', 'url': 'http://changba.com/s/CPiNWbAa1qy0po0llqIJbg',
'md5': '7adcc9afb85ace8ff854bdd0e8567f50', 'md5': '7adcc9afb85ace8ff854bdd0e8567f50',
'info_dict': { 'info_dict': {
@ -33,8 +30,7 @@ class ChangbaIE(InfoExtractor):
'ext': 'mp3', 'ext': 'mp3',
'title': '红豆 ', 'title': '红豆 ',
} }
}, }, {
{
'url': 'http://changba.com/s/-N00JJ30YruunrER5eBcWw', 'url': 'http://changba.com/s/-N00JJ30YruunrER5eBcWw',
'md5': 'cd68f8da8d8c69afbb8e4dbbbfa8b277', 'md5': 'cd68f8da8d8c69afbb8e4dbbbfa8b277',
'info_dict': { 'info_dict': {