ericmedina024 / podcast-sponsor-block

SponsorBlock integration for podcasts
MIT License
39 stars 5 forks source link

Handling empty descriptions #6

Closed janjuafarooq closed 5 months ago

janjuafarooq commented 5 months ago

Some podcasts have no descriptions set such as this one https://www.youtube.com/playlist?list=PLHN12N7TXUyfkE82HP2f67RzKuT1hRzxJ

There were errors happening:

2024-04-05 16:49:46 File "/home/appuser/.local/lib/python3.12/site-packages/feedgen/feed.py", line 267, in _create_rss 2024-04-05 16:49:46 raise ValueError('Required fields not set (%s)' % missing) 2024-04-05 16:49:46 ValueError: Required fields not set (description)

Added this check which should eliminate the error.

ericmedina024 commented 5 months ago

I implemented this a little differently in #7 and have merged that PR, but thank you for your contribution! I really appreciate your interest!