mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-07 04:10:12 +08:00
Update tiktok.py
This commit is contained in:
parent
8236960943
commit
aac7727b54
@ -1,15 +1,18 @@
|
||||
# coding: utf-8
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from youtube_dl.extractor.common import InfoExtractor
|
||||
from youtube_dl.utils import (
|
||||
from .common import InfoExtractor
|
||||
from ..utils import (
|
||||
compat_str,
|
||||
ExtractorError,
|
||||
int_or_none,
|
||||
str_or_none,
|
||||
try_get
|
||||
try_get,
|
||||
url_or_none,
|
||||
)
|
||||
|
||||
|
||||
|
||||
class TikTokIE(InfoExtractor):
|
||||
_VALID_URL = r'https?://(?:www\.)?tiktok\.com/@.+/video/(?P<id>[0-9]+)+'
|
||||
_TESTS = [{
|
||||
|
Loading…
x
Reference in New Issue
Block a user