silo.pasta/run.py
Peter Molnar 5e5f2e2cf7 - formatting with black
- added YAML files in case I ever want to use the saved favs as entries in my site
- some tiny amount of code refactoring
2019-07-13 21:01:57 +01:00

27 lines
412 B
Python

import common
import settings
import Tumblr
import LastFM
import DeviantArt
import Flickr
import Artstation
from pprint import pprint
# lfm = LastFM.LastFM()
# lfm.run()
opml = common.Follows()
silos = [
DeviantArt.DAFavs(),
Flickr.FlickrFavs(),
Tumblr.TumblrFavs(),
Artstation.ASFavs(),
]
for silo in silos:
silo.run()
opml.update({silo.silo: silo.feeds})
opml.sync()
opml.export()