1
0
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:
Franck Hervé 2020-09-06 05:24:01 +02:00 committed by GitHub
parent 8236960943
commit aac7727b54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 = [{