mirror of
https://github.com/mwalbeck/podfox.git
synced 2025-04-15 02:18:29 +00:00
las feed works.
This commit is contained in:
parent
e40afd0850
commit
9d1ceb612d
2 changed files with 4 additions and 1 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
*.swp
|
|
@ -140,7 +140,9 @@ def episodes_from_feed(d):
|
|||
date = mktime(parsedate(entry.published))
|
||||
if hasattr(entry, 'links'):
|
||||
for link in entry.links:
|
||||
if link.type == 'audio/mpeg' or link.type == 'audio/ogg':
|
||||
if not hasattr(link,'type'):
|
||||
continue
|
||||
if hasattr(link,'type') and link.type == 'audio/mpeg' or link.type == 'audio/ogg':
|
||||
if hasattr(entry, 'title'):
|
||||
episode_title = entry.title
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue