Skip to content

Commit 5965a6a

Browse files
author
E.S. Rosenberg a.k.a. Keeper of the Keys
committed
Restored itunes as possible URL too, thus both old and new URLs work
1 parent d4343dc commit 5965a6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gpodder/plugins/itunes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class ITunesFeedException(BaseException):
3939

4040
@registry.feed_handler.register
4141
def itunes_feed_handler(channel, max_episodes, config):
42-
m = re.match(r'https?://podcasts.apple.com/(?:[^/]*/)?podcast/.+$', channel.url, re.I)
42+
m = re.match(r'https?://(podcasts|itunes).apple.com/(?:[^/]*/)?podcast/.+$', channel.url, re.I)
4343
if m is None:
4444
return None
4545

0 commit comments

Comments
 (0)