Skip to content

Commit

Permalink
handle lowercase xmlurl in opml
Browse files Browse the repository at this point in the history
  • Loading branch information
robotmlg committed Nov 17, 2019
1 parent e30f982 commit e8c12ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion podsnatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class Show:

def __init__(self, outline_element):
self.title = outline_element.get('title')
self.url = outline_element.get('xmlUrl')
self.url = outline_element.get('xmlUrl') or outline_element.get('xmlurl') or None
self.episode_guids = []

def __str__(self):
Expand Down

0 comments on commit e8c12ed

Please sign in to comment.