Skip to content

No metadata was returned by youtube-dl #393

@KandyMan1990

Description

@KandyMan1990

I've just attempted to set up TubeSync on my Synology NAS using docker and it is failing to download anything. I've looked into the logs and came across this:

2023-07-18 14:33:32,863 [tubesync/DEBUG] [youtube:tab] Extracting URL: https://www.youtube.com/channel/UCDrqiuwNRbEahL1UEB0hkKQ/videos
2023-07-18 14:33:32,863 [tubesync/DEBUG] [youtube:tab] UCDrqiuwNRbEahL1UEB0hkKQ/videos: Downloading webpage
2023-07-18 14:33:52,882 [tubesync/WARNING] [youtube:tab] <urlopen error [Errno -3] Temporary failure in name resolution>. Retrying (1/3)...
2023-07-18 14:33:52,882 [tubesync/DEBUG] [youtube:tab] UCDrqiuwNRbEahL1UEB0hkKQ/videos: Downloading webpage
2023-07-18 14:34:12,898 [tubesync/WARNING] [youtube:tab] <urlopen error [Errno -3] Temporary failure in name resolution>. Retrying (2/3)...
2023-07-18 14:34:12,898 [tubesync/DEBUG] [youtube:tab] UCDrqiuwNRbEahL1UEB0hkKQ/videos: Downloading webpage
2023-07-18 14:34:32,916 [tubesync/WARNING] [youtube:tab] <urlopen error [Errno -3] Temporary failure in name resolution>. Retrying (3/3)...
2023-07-18 14:34:32,916 [tubesync/DEBUG] [youtube:tab] UCDrqiuwNRbEahL1UEB0hkKQ/videos: Downloading webpage
2023-07-18 14:34:52,933 [tubesync/WARNING] [youtube:tab] Unable to download webpage: <urlopen error [Errno -3] Temporary failure in name resolution> (caused by URLError(gaierror(-3, 'Temporary failure in name resolution'))). Giving up after 3 retries
2023-07-18 14:34:52,934 [tubesync/DEBUG] [youtube:tab] UCDrqiuwNRbEahL1UEB0hkKQ/videos: Downloading API parameters API JSON
2023-07-18 14:35:12,947 [tubesync/WARNING] [youtube:tab] <urlopen error [Errno -3] Temporary failure in name resolution>. Retrying (1/3)...
2023-07-18 14:35:12,948 [tubesync/DEBUG] [youtube:tab] UCDrqiuwNRbEahL1UEB0hkKQ/videos: Downloading API parameters API JSON
2023-07-18 14:35:32,969 [tubesync/WARNING] [youtube:tab] <urlopen error [Errno -3] Temporary failure in name resolution>. Retrying (2/3)...
2023-07-18 14:35:32,970 [tubesync/DEBUG] [youtube:tab] UCDrqiuwNRbEahL1UEB0hkKQ/videos: Downloading API parameters API JSON
2023-07-18 14:35:52,988 [tubesync/WARNING] [youtube:tab] <urlopen error [Errno -3] Temporary failure in name resolution>. Retrying (3/3)...
2023-07-18 14:35:52,989 [tubesync/DEBUG] [youtube:tab] UCDrqiuwNRbEahL1UEB0hkKQ/videos: Downloading API parameters API JSON
2023-07-18 14:36:13,014 [tubesync/ERROR] ERROR: [youtube:tab] UCDrqiuwNRbEahL1UEB0hkKQ: Unable to download API page: <urlopen error [Errno -3] Temporary failure in name resolution> (caused by URLError(gaierror(-3, 'Temporary failure in name resolution')))
Rescheduling Index media from source "beyblade"
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 159, in index_source_task
videos = source.index_media()
^^^^^^^^^^^^^^^^^^^^
File "/app/sync/models.py", line 517, in index_media
response = indexer(self.index_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/channel/UCDrqiuwNRbEahL1UEB0hkKQ/videos": 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.

I'm not sure if this is an error in the latest build or on error on my end. If anyone could help me I'd really appreciate it, I have a feeling it's probably a set up issue. I've tried restarting docker and the issue persists.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions