jmbannon / ytdl-sub

Lightweight tool to automate downloading and metadata generation with yt-dlp
https://ytdl-sub.readthedocs.io
GNU General Public License v3.0
1.59k stars 61 forks source link

[BUGFIX] Use epoch_date if upload_date is missing #927

Closed jmbannon closed 4 months ago

jmbannon commented 4 months ago

Fixes https://github.com/jmbannon/ytdl-sub/issues/912

If a required variable (like uid) is missing, ytdl-sub will error. This bugfix prevents sites that do not provide an upload date from erroring.

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (7c217db) 97.08% compared to head (2a08540) 97.08%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #927 +/- ## ======================================= Coverage 97.08% 97.08% ======================================= Files 115 115 Lines 7304 7304 ======================================= Hits 7091 7091 Misses 213 213 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.