Skip to content

Commit 52c00ad

Browse files
Merge pull request #30 from Keeper-of-the-Keys/itunes-fix
Restored itunes as possible URL too, thus both old and new URLs work
2 parents 8dc8bac + 5965a6a commit 52c00ad

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)