1
0
Fork 0
mirror of https://github.com/sbrl/PolyFeed.git synced 2024-11-24 06:43:01 +00:00
PolyFeed/examples/ocremix-remixes.toml

33 lines
963 B
TOML
Raw Normal View History

2019-08-04 23:48:06 +00:00
[feed]
output = "OCReMix-Remixes.atom"
# Actual Official Feed: http://ocremix.org/feeds/ten20/
url = "https://ocremix.org/remixes/?&offset=0&sort=datedesc"
source_type = "html"
title = "OCReMixes"
subtitle = "Latest remixes on OC ReMix"
logo_url = { selector = ".header", attribute = "src" }
[entries]
selector = ".area-link"
title = "{{a.main.featured}} by {{td:nth-child(2) a.featured}} - {{.color-secondary}}"
content = """
<p>{a}</p>
<p><strong>{a.main.featured}</strong></p>
<p>{td:nth-child(2)}</p>
<p>Remixing {.color-secondary}</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 = "td:nth-child(2) a.featured" }
2019-08-05 00:06:08 +00:00
author_url = { selector = "td:nth-child(2) a.featured", attribute = "href" }
2019-08-04 23:48:06 +00:00
published = { selector = "td:nth-child(3)", attribute = "" }
# last_updated = { selector = "", attribute = "" }