1
0
Fork 0
mirror of https://github.com/sbrl/PolyFeed.git synced 2024-12-17 10:05:00 +00:00

Add Oc ReMix Albums example

This commit is contained in:
Starbeamrainbowlabs 2019-08-05 01:06:39 +01:00
parent fe5f7bfbaa
commit a8a9a33fa6
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -0,0 +1,30 @@
[feed]
output = "OCReMix-Remix-Albums.atom"
# Actual Official Feed: http://ocremix.org/feeds/ten20/
url = "https://ocremix.org/albums/"
source_type = "html"
title = "OCReMix Albums"
subtitle = "Latest Albums on OC ReMix"
logo_url = { selector = ".header", attribute = "src" }
[entries]
selector = ".area-link"
title = "{{a.main.featured}}"
content = """
<p>{td:first-child}</p>
<p>{td:nth-child(2)}</p>
"""
url = { selector = "a.main.featured", attribute = "href" }
# or, for a direct link to YouTube:
#url = { selector = "a.main.featured", attribute = "data-preview" }
# author_name = { selector = "" }
# author_url = { selector = "" }
published = { selector = "td:nth-child(4)", attribute = "" }
# last_updated = { selector = "", attribute = "" }