Skip to content

Instantly share code, notes, and snippets.

@verajosemanuel
Created January 15, 2020 13:15
Show Gist options
  • Save verajosemanuel/8c5ade34d690184dbba648cb62d203bf to your computer and use it in GitHub Desktop.
Save verajosemanuel/8c5ade34d690184dbba648cb62d203bf to your computer and use it in GitHub Desktop.
#convert #feedly #opml to #org #elfeed
from bs4 import BeautifulSoup
with open("feeds.opml") as data:
soup = BeautifulSoup(data.read(), "lxml")
for feed in soup.find_all("outline"):
print(f"** [[{feed.get('xmlurl')}][{feed.get('text')}]]")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment