This commit is contained in:
pukkandan 2021-12-15 22:18:01 +05:30
parent 39ca3b5c7f
commit a8549f19e7
No known key found for this signature in database
GPG Key ID: 0F00D95A001F4698
2 changed files with 1 additions and 2 deletions

View File

@ -3,7 +3,6 @@ from __future__ import unicode_literals
import base64 import base64
import collections import collections
import datetime
import hashlib import hashlib
import itertools import itertools
import json import json

View File

@ -180,7 +180,7 @@ class TikTokBaseIE(InfoExtractor):
user_url = self._UPLOADER_URL_FORMAT % (traverse_obj(author_info, user_url = self._UPLOADER_URL_FORMAT % (traverse_obj(author_info,
'sec_uid', 'id', 'uid', 'unique_id', 'sec_uid', 'id', 'uid', 'unique_id',
expected_type=str_or_none, get_all=False)) expected_type=str_or_none, get_all=False))
labels = traverse_obj(aweme_detail, ('hybrid_label', ..., 'text'), expected_type=str) labels = traverse_obj(aweme_detail, ('hybrid_label', ..., 'text'), expected_type=str, default=[])
contained_music_track = traverse_obj( contained_music_track = traverse_obj(
music_info, ('matched_song', 'title'), ('matched_pgc_sound', 'title'), expected_type=str) music_info, ('matched_song', 'title'), ('matched_pgc_sound', 'title'), expected_type=str)