Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Processing when a downloaded video is changed to private #468

Open
woozu-shin opened this issue Feb 21, 2024 · 1 comment
Open

Processing when a downloaded video is changed to private #468

woozu-shin opened this issue Feb 21, 2024 · 1 comment

Comments

@woozu-shin
Copy link

Version

  • 0.13.3

Abstract

  • Processing when a downloaded video is changed to private, will raise exception and hang whole background tasks.
  • Add exception handling when retrieving media info if the original video is not accessible.

Details

  • traceback log
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/dist-packages/background_task/tasks.py", line 43, in bg_runner
    func(*args, **kwargs)
  File "/app/sync/tasks.py", line 238, in download_media_metadata
    metadata = media.index_metadata()
               ^^^^^^^^^^^^^^^^^^^^^^
  File "/app/sync/models.py", line 1422, in index_metadata
    return indexer(self.url)
           ^^^^^^^^^^^^^^^^^
  File "/app/sync/youtube.py", line 60, in get_media_info
    raise YouTubeError(f'Failed to extract_info for "{url}": No metadata was '
sync.youtube.YouTubeError: Failed to extract_info for "https://www.youtube.com/watch?v=REDACTED": No metadata was returned by youtube-dl, check for error messages in the logs above. This task will be retried later with an exponential backoff.

References

  • n/a
@woozu-shin
Copy link
Author

Is there any branches git-flow related?
In my opinion, it is a medium-sized project, and one that is receiving interest from many users.
If there is branch strategy, more active P/R may be possible. :)
thx for nice project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant