Skip to content

Commit

Permalink
Fix web fallback
Browse files Browse the repository at this point in the history
Closes #2
  • Loading branch information
bashonly committed Aug 7, 2023
1 parent 26d81d4 commit 38d4483
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = yt-dlp-TTUser
version = 2023.07.22
version = 2023.08.07

[options]
packages = find_namespace:
Expand Down
2 changes: 1 addition & 1 deletion yt_dlp_plugins/extractor/tt_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def _entries(self, sec_uid, user_name):
self.report_warning(
f'{e.orig_msg}. Failed to extract from feed; falling back to web API response')
if traverse_obj(video, ('video', 'playAddr')):
entry = self._parse_aweme_video_web(video, self._create_url(user_name, video_id))
entry = self._parse_aweme_video_web(video, self._create_url(user_name, video_id), video_id)
if entry:
yield {
**entry,
Expand Down

0 comments on commit 38d4483

Please sign in to comment.