~ghost08/ratt

Add config for Rumble channels v1 PROPOSED

McKinley: 1
 Add config for Rumble channels

 1 files changed, 38 insertions(+), 0 deletions(-)
Thank you for creating Ratt. It's exactly what I've been looking for
for some time.

I have another config file, but it probably won't be useful to most
people. It's for Linus Groh's blog at https://linus.dev/posts/.

Are you interested in this type of submission?
Thanks, it's rewarding when somebody finds my work useful :)

Send your config file, the more the better! RSS all the things!
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~ghost08/ratt/patches/34912/mbox | git am -3
Learn more about email & git

[PATCH] Add config for Rumble channels Export this patch

This configuration will create feeds for Rumble, a video hosting
service.
---
 confs/rumble-channel.yml | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)
 create mode 100644 confs/rumble-channel.yml

diff --git a/confs/rumble-channel.yml b/confs/rumble-channel.yml
new file mode 100644
index 0000000..081edbb
--- /dev/null
+++ b/confs/rumble-channel.yml
@@ -0,0 +1,38 @@
regex: https://rumble.com/c/.+
selectors:
  httpsettings:
    cookie: {}
    header: {}
    useragent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko)
      Chrome/90.0.4430.72 Safari/537.36
    insecure: false
  feed:
    title: h1.listing-header--title
    titleattr: ""
    description: ""
    descriptionattr: ""
    authorname: ""
    authornameattr: ""
    authoremail: ""
    authoremailattr: ""
  item:
    container: li.video-listing-entry
    title: h3.video-item--title
    titleattr: ""
    link: |-
      link = sel:find("a.video-item--a")
      print("https://rumble.com" .. link:attr("href"))
    linkattr: href
    created: time.video-item--time
    createdattr: datetime
    createdformat: 2006-01-02T15:04:05-07:00
    description: ""
    descriptionattr: ""
    content: ""
    contentattr: ""
    image: img.video-item--img
    imageattr: src
  nextpage: ""
  nextpageattr: ""
  nextpagecount: 0
  sort: ""
-- 
2.37.2
Thanks :)