This commit is contained in:
@@ -65,11 +65,9 @@ def podcasts():
|
||||
#clear all expired messages before
|
||||
telegram.clear_expired_messages()
|
||||
|
||||
podcasts = podcastData.objects.all()
|
||||
podcasts = podcastData.objects.filter(enabled=True)
|
||||
for podcast in podcasts:
|
||||
url = podcast.podcast_url
|
||||
#url = "https://feeds.audiomeans.fr/feed/44f6a116-20a6-44c4-98c4-b3e1bdd46dce.xml"
|
||||
#url_bbc = "https://podcast.voice.api.bbci.co.uk/rss/audio/p002vsmz?api_key=Wbek5zSqxz0Hk1blo5IBqbd9SCWIfNbT"
|
||||
|
||||
today_podcast = rss_to_dict(url)
|
||||
print(today_podcast)
|
||||
|
||||
Reference in New Issue
Block a user