mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-01 00:52:58 +01:00
re-format code to pass flake8
This commit is contained in:
parent
d2be5bb5af
commit
951043724f
@ -5,7 +5,6 @@
|
|||||||
|
|
||||||
import json
|
import json
|
||||||
import random as rnd
|
import random as rnd
|
||||||
from os import path
|
|
||||||
import re
|
import re
|
||||||
|
|
||||||
from ..compat import (
|
from ..compat import (
|
||||||
@ -17,6 +16,7 @@
|
|||||||
js_to_json,
|
js_to_json,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
class WeiboIE(InfoExtractor):
|
class WeiboIE(InfoExtractor):
|
||||||
_VALID_URL = r'https?://weibo\.com/[0-9]+/(?P<id>[a-zA-Z0-9]+)'
|
_VALID_URL = r'https?://weibo\.com/[0-9]+/(?P<id>[a-zA-Z0-9]+)'
|
||||||
_TEST = {
|
_TEST = {
|
||||||
@ -111,6 +111,7 @@ def _real_extract(self, url):
|
|||||||
# TODO more properties (see youtube_dl/extractor/common.py)
|
# TODO more properties (see youtube_dl/extractor/common.py)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
class WeiboMobileIE(InfoExtractor):
|
class WeiboMobileIE(InfoExtractor):
|
||||||
_VALID_URL = r'https?://m.weibo.cn/status/(?P<id>[0-9]+)(\?.+)?'
|
_VALID_URL = r'https?://m.weibo.cn/status/(?P<id>[0-9]+)(\?.+)?'
|
||||||
_TEST = {
|
_TEST = {
|
||||||
|
Loading…
Reference in New Issue
Block a user