Created
January 15, 2020 13:15
-
-
Save verajosemanuel/8c5ade34d690184dbba648cb62d203bf to your computer and use it in GitHub Desktop.
#convert #feedly #opml to #org #elfeed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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