1
0
mirror of https://github.com/l1ving/youtube-dl synced 2026-05-25 03:09:55 +08:00

Update tiktok.py

This commit is contained in:
Franck Hervé
2020-09-06 05:24:01 +02:00
committed by GitHub
Unverified
parent 8236960943
commit aac7727b54
+6 -3
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 = [{