diff options
author | Jesús <heckyel@hyperbola.info> | 2021-05-06 15:18:19 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-05-06 15:18:19 -0500 |
commit | 7feea3f839b4e78b865937e74689486a54ba0b92 (patch) | |
tree | a002d834ef98552b45d20c90c08823459b0d016f /youtube/templates/subscriptions.xml | |
parent | f9d1bfe05f57c13a66453a69a509f170b4027e5f (diff) | |
download | yt-local-7feea3f839b4e78b865937e74689486a54ba0b92.tar.lz yt-local-7feea3f839b4e78b865937e74689486a54ba0b92.tar.xz yt-local-7feea3f839b4e78b865937e74689486a54ba0b92.zip |
Add subscriptions export
plus design by heckyel
Diffstat (limited to 'youtube/templates/subscriptions.xml')
-rw-r--r-- | youtube/templates/subscriptions.xml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/youtube/templates/subscriptions.xml b/youtube/templates/subscriptions.xml new file mode 100644 index 0000000..5365da1 --- /dev/null +++ b/youtube/templates/subscriptions.xml @@ -0,0 +1,9 @@ +<opml version="1.1"> + <body> + <outline text="YouTube Subscriptions" title="YouTube Subscriptions"> + {% for sub in sub_list %} + <outline text="{{sub['channel_name']}}" title="{{sub['channel_name']}}" type="rss" xmlUrl="https://www.youtube.com/feeds/videos.xml?channel_id={{sub['channel_id']}}" /> + {%- endfor %} + </outline> + </body> +</opml> |