Iniial commit. Reads in hardcoded OPML file and prints out podcast title/url/artwork url/desc
This commit is contained in:
14
main.py
Normal file
14
main.py
Normal file
@@ -0,0 +1,14 @@
|
||||
import opml
|
||||
|
||||
def podcastImport ():
|
||||
outline = opml.parse("podcast_republic_podcasts.opml")
|
||||
x = len(outline)
|
||||
y=0
|
||||
|
||||
while y < x:
|
||||
print(outline[y].title)
|
||||
print(outline[y].xmlUrl)
|
||||
print(outline[y].pr_artwork)
|
||||
print(outline[y].pr_desc)
|
||||
print()
|
||||
y=y+1
|
||||
1
podcast_republic_podcasts.opml
Normal file
1
podcast_republic_podcasts.opml
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user