re-format code to pass flake8
This commit is contained in:
parent
d2be5bb5af
commit
951043724f
1 changed files with 52 additions and 51 deletions
|
@ -5,7 +5,6 @@ from .common import InfoExtractor
|
|||
|
||||
import json
|
||||
import random as rnd
|
||||
from os import path
|
||||
import re
|
||||
|
||||
from ..compat import (
|
||||
|
@ -17,6 +16,7 @@ from ..utils import (
|
|||
js_to_json,
|
||||
)
|
||||
|
||||
|
||||
class WeiboIE(InfoExtractor):
|
||||
_VALID_URL = r'https?://weibo\.com/[0-9]+/(?P<id>[a-zA-Z0-9]+)'
|
||||
_TEST = {
|
||||
|
@ -111,6 +111,7 @@ class WeiboIE(InfoExtractor):
|
|||
# TODO more properties (see youtube_dl/extractor/common.py)
|
||||
}
|
||||
|
||||
|
||||
class WeiboMobileIE(InfoExtractor):
|
||||
_VALID_URL = r'https?://m.weibo.cn/status/(?P<id>[0-9]+)(\?.+)?'
|
||||
_TEST = {
|
||||
|
|
Loading…
Reference in a new issue