Skip to content

Nebula thumbnail fix causes errors #1453

Description

@hosted-flower

The fix in #1353 does not work for me. Adding

overrides:
   modified_webpage_url: >-
     { %regex_sub("#__youtubedl_smuggle=.*", "", webpage_url) }

to the file causes no videos to download at all.
My subscriptions file:

__preset__:
  overrides:
    chunk_max_downloads: 2
    tv_show_directory: "~/dev/ntvbug/"
    modified_webpage_url: >-
      { %regex_sub("#__youtubedl_smuggle=.*", "", webpage_url) }
  ytdl_options:
    format: bv[height<=1080]+ba/b[height<=1080]
Jellyfin TV Show by Date | Chunk Downloads:
  = Vidio Essays:
    "Spectacles": "https://nebula.tv/spectacles" 

The error:

[ytdl-sub:yt-dlp] [info] ef930427-cf37-42f1-a2ee-47e4895b2c63: Downloading 1 format(s): 2180+audio-English
[ytdl-sub:yt-dlp] Deleting existing file .ytdl-sub-working-directory/Spectacles/ef930427-cf37-42f1-a2ee-47e4895b2c63.jpg
[ytdl-sub:yt-dlp] [info] Downloading video thumbnail 0 ...
[ytdl-sub:yt-dlp] [info] Writing video thumbnail 0 to: .ytdl-sub-working-directory/Spectacles/ef930427-cf37-42f1-a2ee-47e4895b2c63.jpg
[ytdl-sub:yt-dlp] [download] .ytdl-sub-working-directory/Spectacles/ef930427-cf37-42f1-a2ee-47e4895b2c63.mp4 has already been downloaded
[ytdl-sub:yt-dlp] [Metadata] There isn't any metadata to add
[ytdl-sub] The following error occurred for the subscription Spectacles:
Traceback (most recent call last):
  File "/nix/store/g6ilcp13mlhql4li19m707rh8v2b2srj-ytdl-sub-2026.03.09.post3/lib/python3.13/site-packages/ytdl_sub/subscriptions/subscription_download.py", line 428, in exception_handling
    yield
  File "/nix/store/g6ilcp13mlhql4li19m707rh8v2b2srj-ytdl-sub-2026.03.09.post3/lib/python3.13/site-packages/ytdl_sub/cli/entrypoint.py", line 133, in _download_subscriptions_from_yaml_files
    subscription.download(dry_run=dry_run)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/nix/store/g6ilcp13mlhql4li19m707rh8v2b2srj-ytdl-sub-2026.03.09.post3/lib/python3.13/site-packages/ytdl_sub/subscriptions/subscription_download.py", line 415, in download
    return self._process_subscription(
           ~~~~~~~~~~~~~~~~~~~~~~~~~~^
        plugins=plugins,
        ^^^^^^^^^^^^^^^^
        downloader=downloader,
        ^^^^^^^^^^^^^^^^^^^^^^
        dry_run=dry_run,
        ^^^^^^^^^^^^^^^^
    )
    ^
  File "/nix/store/g6ilcp13mlhql4li19m707rh8v2b2srj-ytdl-sub-2026.03.09.post3/lib/python3.13/site-packages/ytdl_sub/subscriptions/subscription_download.py", line 334, in _process_subscription
    entry = downloader.download(entry)
  File "/nix/store/g6ilcp13mlhql4li19m707rh8v2b2srj-ytdl-sub-2026.03.09.post3/lib/python3.13/site-packages/ytdl_sub/downloaders/url/downloader.py", line 531, in download
    download_entry = self._extract_entry_info_with_retry(entry=entry)
  File "/nix/store/g6ilcp13mlhql4li19m707rh8v2b2srj-ytdl-sub-2026.03.09.post3/lib/python3.13/site-packages/ytdl_sub/downloaders/url/downloader.py", line 356, in _extract_entry_info_with_retry
    download_entry_dict = YTDLP.extract_info_with_retry(
        ytdl_options_overrides=self.download_ytdl_options(
    ...<8 lines>...
        url=self.webpage_url(entry=entry),
    )
  File "/nix/store/g6ilcp13mlhql4li19m707rh8v2b2srj-ytdl-sub-2026.03.09.post3/lib/python3.13/site-packages/ytdl_sub/downloaders/ytdlp.py", line 132, in extract_info_with_retry
    raise FileNotDownloadedException(
        f"yt-dlp failed to download an entry with these arguments: {error_dict}"
    )
ytdl_sub.utils.exceptions.FileNotDownloadedException: yt-dlp failed to download an entry with these arguments: {'ytdl_options': {'ignoreerrors': True, 'outtmpl': '.ytdl-sub-working-directory/Spectacles/%(id)S.%(ext)s', 'writethumbnail': True, 'ffmpeg_location': '/nix/store/sn7vh3a5wmyv5k37gzn741mmjjqnnyj5-ffmpeg-7.1.3-bin/bin/ffmpeg', 'download_archive': '.ytdl-sub-working-directory/Spectacles/.ytdl-sub-Spectacles-download-archive.json-ytdl-archive', 'postprocessors': [{'key': 'FFmpegMetadata', 'add_chapters': True, 'add_metadata': False}], 'break_on_existing': False, 'format': 'bv[height<=1080]+ba/b[height<=1080]', 'max_downloads': 2, 'playlistreverse': True}, 'kwargs': {'url': 'https://nebula.tv/videos/spectacles-sudans-story-why-dictators-dont-give-up-anymore/'}}
[ytdl-sub] 
No files changed for Spectacles
[ytdl-sub] Download Summary:
Spectacles     0 0 0     0 FileNotDownloadedException
Total: 1       0 0 0     0 Error

See `/tmp/ytdl-sub.errorsz8u3bg1e` for details on errors.
Consider making a GitHub issue including the uploaded log file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions