Giter Club home page Giter Club logo

reddit-rss's Introduction

reddit-rss

Open in Gitpod ko-fi
reddit post explaining what this is

Breaking Changes

If you follow this service, please add the announcements rss feed to your reader to be notified of incoming changes.

https://github.com/trashhalo/reddit-rss/discussions/categories/announcements.atom

  • Limit has been renamed scoreLimit. #46

installation

Your options are docker build . or go build ./cmd/reddit-rss.

using self hosted version

If you run a version of reddit-rss at https://reddit.my.server

If you are interested in using it to you:

  1. Go to a subreddit or meta feed you like example: https://www.reddit.com/r/Android/
  2. Add .json onto the end: https://www.reddit.com/r/Android.json
  3. Change the domain name to, reddit.0qz.fun like: https://reddit.my.server/r/android.json
  4. Subscribe to ^^^ that url in your favorite feed reader.

exposed ports

  • 8080 (HTTP)

query params

  • ?safe=true filter out nsfw posts
  • ?scoreLimit=100 filter out posts with less than 100 up votes
  • ?flair=Energy%20Products only include posts that have that flair

Quick Deploy

Deploy with Heroku Deploy with Vercel

configuration

to further configure your instance, you can set the following environment variables

REDDIT_URL

this controls which interface you want your rss feed entries to link to (to avoid tracking and that annoying use mobile app popup). any alternative reddit interface can be provided here, ie: https://libredd.it or https://teddit.net .

it defaults to "https://old.reddit.com".

PORT

which port your instance is listening on.

defaults to "8080"

reddit-rss's People

Contributors

dependabot[bot] avatar invakid404 avatar mnxn avatar nexus-uw avatar trashhalo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

reddit-rss's Issues

Server down?

It appears that your server is down. Is it because the costs are too high?

Unsure how to translate urls with `sort` and `t` params

I'm trying to get feeds for e.g.

https://www.reddit.com/r/Zettelkasten/top/?sort=top&t=week

the corresponding url for the official feed is

https://www.reddit.com/r/Zettelkasten/top/.rss?sort=top&t=week

so I tried to translate it to

https://reddit.0qz.fun/r/Zettelkasten/top.json?sort=top&t=week

which does bring me a feed, but its contents doesn't match the parameters.

What am I doing wrong ?

Hosting Private Instance

After the update, I tried to host a private instance of this repo but I'm getting the error. please help

Self-hosted Vercel build is not working

When deploying the master branch to Vercel, we get this error:

[11:02:29.589] Running build in Cleveland, USA (East) โ€“ cle1
[11:02:29.649] Cloning github.com/queimadus/reddit-rss (Branch: main, Commit: 76a50d6)
[11:02:29.655] Skipping build cache, deployment was triggered without cache.
[11:02:30.182] Cloning completed: 533.176ms
[11:02:30.318] Running "vercel build"
[11:02:30.827] Vercel CLI 31.0.3
[11:02:31.072] Downloading go: https://dl.google.com/go/go1.14.15.linux-amd64.tar.gz
[11:02:37.024] go: errors parsing go.mod:
[11:02:37.024] /vercel/path0/go.mod:38: replacement module without version must be directory path (rooted or starting with ./ or ../)
[11:02:37.026] failed to `go mod tidy`
[11:02:37.083] Error: Command failed: go mod tidy

Do we need to override the Build command in Vercel's Build & Development Settings to something else?

docker installation

hello,
am trying to deploy on docker, i build successfully the image and the contain is up and running.
in log it says
2020/06/12 16:24:47 starting reddit-rss,
now how do i access? does it need port?
am trying to add feed r/rss to tt-rss with local ip so url should be http://mylocal-ip/r/rss.json
but i get error
Couldn't download the specified URL: ; 7 Failed to connect to mylocal-ip port 80: Connection refused

Images are no longer part of the feed

Recently I noticed in my feeds that images are now missing, which is one of the main reasons I keep using this.
Only entries with videos seems to contain a thumbnail image.

  • Is this a side-effect of parser being broken right now?
  • Is this some reddit API-limit issue?
  • Will the images be back in the feed in the future?

Example feed obtained from https://reddit.0qz.fun/r/Animemes/.json

<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>reddit-rss /r/Animemes/.json</title>
    <link>https://github.com/trashhalo/reddit-rss</link>
    <description>Reddit RSS feed that links directly to the content</description>
    <managingEditor>[email protected] (Stephen Solka)</managingEditor>
    <pubDate>Tue, 31 Aug 2021 16:05:01 +0000</pubDate>
    <lastBuildDate>Tue, 31 Aug 2021 16:05:01 +0000</lastBuildDate>
    <item>
      <title>Do i have enough karma to post here?</title>
      <link>https://i.redd.it/yb7p6diy0pk71.png</link>
      <description></description>
      <content:encoded><![CDATA[<p><a href="https://old.reddit.com/r/Animemes/comments/pf5mfp/do_i_have_enough_karma_to_post_here/">comments</a></p> ]]></content:encoded>
      <author>i.redd.it</author>
      <guid>pf5mfp</guid>
      <pubDate>Tue, 31 Aug 2021 13:14:58 +0000</pubDate>
    </item>
    <item>
      <title>I&#39;m not mad, I&#39;m disappointed.</title>
      <link>https://i.redd.it/lf1963lfqnk71.jpg</link>
      <description></description>
      <content:encoded><![CDATA[<p><a href="https://old.reddit.com/r/Animemes/comments/pf1xzc/im_not_mad_im_disappointed/">comments</a></p> ]]></content:encoded>
      <author>i.redd.it</author>
      <guid>pf1xzc</guid>
      <pubDate>Tue, 31 Aug 2021 08:51:32 +0000</pubDate>
    </item>
    <item>
      <title>strongest genshin player</title>
      <link>https://i.redd.it/ylcg77eapok71.png</link>
      <description></description>
      <content:encoded><![CDATA[<p><a href="https://old.reddit.com/r/Animemes/comments/pf4hni/strongest_genshin_player/">comments</a></p> ]]></content:encoded>
      <author>i.redd.it</author>
      <guid>pf4hni</guid>
      <pubDate>Tue, 31 Aug 2021 12:06:54 +0000</pubDate>
    </item>
    <item>
      <title>Good job crayon eaters, good job.</title>
      <link>https://v.redd.it/cf8l76lhbmk71</link>
      <description></description>
      <content:encoded><![CDATA[<p><a href="https://old.reddit.com/r/Animemes/comments/peyexb/good_job_crayon_eaters_good_job/">comments</a></p> <iframe src="https://v.redd.it/cf8l76lhbmk71/DASH_1080.mp4?source=fallback" width="597" height="1080"/> <img src="https://b.thumbs.redditmedia.com/7YwKb9P4jwwIELQi_uxtRlCX5yAe1qvUKY40K3D32gM.jpg" class="webfeedsFeaturedVisual"/>]]></content:encoded>
      <author>v.redd.it</author>
      <guid>peyexb</guid>
      <pubDate>Tue, 31 Aug 2021 04:06:43 +0000</pubDate>
    </item>
    <item>
      <title>Daily Erwin meme #1306: installed up the ass</title>
      <link>https://i.redd.it/sokyqehccnk71.png</link>
      <description></description>
      <content:encoded><![CDATA[<p><a href="https://old.reddit.com/r/Animemes/comments/pf1429/daily_erwin_meme_1306_installed_up_the_ass/">comments</a></p> ]]></content:encoded>
      <author>i.redd.it</author>
      <guid>pf1429</guid>
      <pubDate>Tue, 31 Aug 2021 07:36:01 +0000</pubDate>
    </item>
    <item>
      <title>You guys should try it for fun</title>
      <link>https://i.redd.it/iyh5j6rcgok71.jpg</link>
      <description></description>
      <content:encoded><![CDATA[<p><a href="https://old.reddit.com/r/Animemes/comments/pf3rut/you_guys_should_try_it_for_fun/">comments</a></p> ]]></content:encoded>
      <author>i.redd.it</author>
      <guid>pf3rut</guid>
      <pubDate>Tue, 31 Aug 2021 11:16:51 +0000</pubDate>
    </item>
    <item>
      <title>Shake your device slowly for a better effect</title>
      <link>https://i.redd.it/64dm6r65slk71.jpg</link>
      <description></description>
      <content:encoded><![CDATA[<p><a href="https://old.reddit.com/r/Animemes/comments/pewpay/shake_your_device_slowly_for_a_better_effect/">comments</a></p> ]]></content:encoded>
      <author>i.redd.it</author>
      <guid>pewpay</guid>
      <pubDate>Tue, 31 Aug 2021 02:17:33 +0000</pubDate>
    </item>
    <item>
      <title>holy shit its bts</title>
      <link>https://i.redd.it/eikrfa3qxnk71.jpg</link>
      <description></description>
      <content:encoded><![CDATA[<p><a href="https://old.reddit.com/r/Animemes/comments/pf2f5n/holy_shit_its_bts/">comments</a></p> ]]></content:encoded>
      <author>i.redd.it</author>
      <guid>pf2f5n</guid>
      <pubDate>Tue, 31 Aug 2021 09:32:23 +0000</pubDate>
    </item>
    <item>
      <title>zero two farts</title>
      <link>https://i.redd.it/0moua2tn3ok71.jpg</link>
      <description></description>
      <content:encoded><![CDATA[<p><a href="https://old.reddit.com/r/Animemes/comments/pf2tx6/zero_two_farts/">comments</a></p> ]]></content:encoded>
      <author>i.redd.it</author>
      <guid>pf2tx6</guid>
      <pubDate>Tue, 31 Aug 2021 10:05:40 +0000</pubDate>
    </item>
    <item>
      <title>Need to make sure nothing is inappropriate</title>
      <link>https://i.redd.it/2jn97y639pk71.jpg</link>
      <description></description>
      <content:encoded><![CDATA[<p><a href="https://old.reddit.com/r/Animemes/comments/pf6e1v/need_to_make_sure_nothing_is_inappropriate/">comments</a></p> ]]></content:encoded>
      <author>i.redd.it</author>
      <guid>pf6e1v</guid>
      <pubDate>Tue, 31 Aug 2021 13:57:56 +0000</pubDate>
    </item>
    <item>
      <title>this cherry looks like a butt</title>
      <link>https://i.redd.it/yww2wgkdbok71.jpg</link>
      <description></description>
      <content:encoded><![CDATA[<p><a href="https://old.reddit.com/r/Animemes/comments/pf3dtv/this_cherry_looks_like_a_butt/">comments</a></p> ]]></content:encoded>
      <author>i.redd.it</author>
      <guid>pf3dtv</guid>
      <pubDate>Tue, 31 Aug 2021 10:48:55 +0000</pubDate>
    </item>
    <item>
      <title>Some things just never change</title>
      <link>https://i.redd.it/f76mi3uzmmk71.jpg</link>
      <description></description>
      <content:encoded><![CDATA[<p><a href="https://old.reddit.com/r/Animemes/comments/pezb3g/some_things_just_never_change/">comments</a></p> ]]></content:encoded>
      <author>i.redd.it</author>
      <guid>pezb3g</guid>
      <pubDate>Tue, 31 Aug 2021 05:10:38 +0000</pubDate>
    </item>
    <item>
      <title>Wait.... is this how it works?</title>
      <link>https://i.redd.it/gp76waqiink71.jpg</link>
      <description></description>
      <content:encoded><![CDATA[<p><a href="https://old.reddit.com/r/Animemes/comments/pf1goz/wait_is_this_how_it_works/">comments</a></p> ]]></content:encoded>
      <author>i.redd.it</author>
      <guid>pf1goz</guid>
      <pubDate>Tue, 31 Aug 2021 08:07:13 +0000</pubDate>
    </item>
    <item>
      <title>poor choice of words</title>
      <link>https://i.redd.it/os8e8ots7pk71.jpg</link>
      <description></description>
      <content:encoded><![CDATA[<p><a href="https://old.reddit.com/r/Animemes/comments/pf69b0/poor_choice_of_words/">comments</a></p> ]]></content:encoded>
      <author>i.redd.it</author>
      <guid>pf69b0</guid>
      <pubDate>Tue, 31 Aug 2021 13:50:39 +0000</pubDate>
    </item>
    <item>
      <title>I see no difference</title>
      <link>https://i.redd.it/pyaq5exfglk71.jpg</link>
      <description></description>
      <content:encoded><![CDATA[<p><a href="https://old.reddit.com/r/Animemes/comments/pevm29/i_see_no_difference/">comments</a></p> ]]></content:encoded>
      <author>i.redd.it</author>
      <guid>pevm29</guid>
      <pubDate>Tue, 31 Aug 2021 01:11:57 +0000</pubDate>
    </item>
    <item>
      <title>Monomie</title>
      <link>https://v.redd.it/opha42os5pk71</link>
      <description></description>
      <content:encoded><![CDATA[<p><a href="https://old.reddit.com/r/Animemes/comments/pf62mj/monomie/">comments</a></p> <iframe src="https://v.redd.it/opha42os5pk71/DASH_1080.mp4?source=fallback" width="1080" height="1080"/> <img src="https://b.thumbs.redditmedia.com/of1xqhxOV27Of93vg3xKzMRYrivVqbqaLHJgIAT2JFE.jpg" class="webfeedsFeaturedVisual"/>]]></content:encoded>
      <author>v.redd.it</author>
      <guid>pf62mj</guid>
      <pubDate>Tue, 31 Aug 2021 13:40:04 +0000</pubDate>
    </item>
    <item>
      <title>Oh No, The Cursed Hairstyle</title>
      <link>https://i.redd.it/6g6vnwro1lk71.png</link>
      <description></description>
      <content:encoded><![CDATA[<p><a href="https://old.reddit.com/r/Animemes/comments/peuf2k/oh_no_the_cursed_hairstyle/">comments</a></p> ]]></content:encoded>
      <author>i.redd.it</author>
      <guid>peuf2k</guid>
      <pubDate>Tue, 31 Aug 2021 00:01:33 +0000</pubDate>
    </item>
    <item>
      <title>Ahem... Tommorow is September.</title>
      <link>https://i.redd.it/d17gvyqfmok71.png</link>
      <description></description>
      <content:encoded><![CDATA[<p><a href="https://old.reddit.com/r/Animemes/comments/pf491n/ahem_tommorow_is_september/">comments</a></p> ]]></content:encoded>
      <author>i.redd.it</author>
      <guid>pf491n</guid>
      <pubDate>Tue, 31 Aug 2021 11:51:13 +0000</pubDate>
    </item>
    <item>
      <title>twitter</title>
      <link>https://i.redd.it/nnw3d4h0wlk71.png</link>
      <description></description>
      <content:encoded><![CDATA[<p><a href="https://old.reddit.com/r/Animemes/comments/pex276/twitter/">comments</a></p> ]]></content:encoded>
      <author>i.redd.it</author>
      <guid>pex276</guid>
      <pubDate>Tue, 31 Aug 2021 02:39:27 +0000</pubDate>
    </item>
    <item>
      <title>no way</title>
      <link>https://i.redd.it/r78geqc72pk71.jpg</link>
      <description></description>
      <content:encoded><![CDATA[<p><a href="https://old.reddit.com/r/Animemes/comments/pf5paa/no_way/">comments</a></p> ]]></content:encoded>
      <author>i.redd.it</author>
      <guid>pf5paa</guid>
      <pubDate>Tue, 31 Aug 2021 13:19:17 +0000</pubDate>
    </item>
    <item>
      <title>I don&#39;t know what to name it</title>
      <link>https://i.redd.it/18mnx13p9pk71.jpg</link>
      <description></description>
      <content:encoded><![CDATA[<p><a href="https://old.reddit.com/r/Animemes/comments/pf6gep/i_dont_know_what_to_name_it/">comments</a></p> ]]></content:encoded>
      <author>i.redd.it</author>
      <guid>pf6gep</guid>
      <pubDate>Tue, 31 Aug 2021 14:01:17 +0000</pubDate>
    </item>
    <item>
      <title>Yup!! No embarrassing stuff after this one!</title>
      <link>https://i.redd.it/1s976n602mk71.png</link>
      <description></description>
      <content:encoded><![CDATA[<p><a href="https://old.reddit.com/r/Animemes/comments/pexlth/yup_no_embarrassing_stuff_after_this_one/">comments</a></p> ]]></content:encoded>
      <author>i.redd.it</author>
      <guid>pexlth</guid>
      <pubDate>Tue, 31 Aug 2021 03:12:57 +0000</pubDate>
    </item>
    <item>
      <title>Mosquito, thats what I see.</title>
      <link>https://i.redd.it/rlh764gk4ok71.jpg</link>
      <description></description>
      <content:encoded><![CDATA[<p><a href="https://old.reddit.com/r/Animemes/comments/pf2w7x/mosquito_thats_what_i_see/">comments</a></p> ]]></content:encoded>
      <author>i.redd.it</author>
      <guid>pf2w7x</guid>
      <pubDate>Tue, 31 Aug 2021 10:10:51 +0000</pubDate>
    </item>
    <item>
      <title>i wonder if it would melt...</title>
      <link>https://i.redd.it/3d4r6l0zyik71.jpg</link>
      <description></description>
      <content:encoded><![CDATA[<p><a href="https://old.reddit.com/r/Animemes/comments/pem1ck/i_wonder_if_it_would_melt/">comments</a></p> ]]></content:encoded>
      <author>i.redd.it</author>
      <guid>pem1ck</guid>
      <pubDate>Mon, 30 Aug 2021 16:50:32 +0000</pubDate>
    </item>
    <item>
      <title>Since when did watching anime start making you cool</title>
      <link>https://i.redd.it/otz69vnm4jk71.png</link>
      <description></description>
      <content:encoded><![CDATA[<p><a href="https://old.reddit.com/r/Animemes/comments/pemonj/since_when_did_watching_anime_start_making_you/">comments</a></p> ]]></content:encoded>
      <author>i.redd.it</author>
      <guid>pemonj</guid>
      <pubDate>Mon, 30 Aug 2021 17:22:59 +0000</pubDate>
    </item>
  </channel>
</rss>

old reddit?

is there a way to set domain to old.reddit.com instead of reddit.com?

thanks

Need detailed install instructions

Can I have detailed install instructions? so I'm running this on my vps so I entered this cmd: go build ./cmd/reddit-rss so what's next? what's the cmd to start it up? I don't want to use docker cause it requires more RAM

Wrong favicon

Hi, and thanks for your work !

Using QuiteRSS on Ubuntu 20.04, I noticed that the favicon associated with a feed coming from https://reddit.0qz.fun is the Github one, instead of the Reddit one.

Looking at the contents of the feed, I found

<channel>
  ...
  <link>https://github.com/trashhalo/reddit-rss</link>

which seems to me to be the reason why.
Is there any reason why not putting the original feed url in <link> ?
And in any case, could this favicon problem be solved ?

Thanks in advance,
cheers !

Docker image

Please, could you provide a docker image? ๐Ÿ™๐Ÿป

Thanks

Getting 403 Forbidden

I have been using the Heroku App to run reddit-rss for about 6 months. Since March 27th I have been getting 403 Forbidden when trying to access reddit.

This initially showed up as this error when going to the RSS URL

invalid character '<' looking for beginning of value

I modified my fork to print some more debug info and I found that I was getting this request and response

2024-04-01T20:40:14.919234+00:00 app[web.1]: 2024/04/01 20:40:14 req: &{GET https://old.reddit.com/r/rust.json?scoreLimit=20 HTTP/1.1 %!s(int=1) %!s(int=1) map[User-Agent:[reddit-rss 1.0]] <nil> %!s(func() (io.ReadCloser, error)=<nil>) %!s(int64=0) [] %!s(bool=false) old.reddit.com map[] map[] %!s(*multipart.Form=<nil>) map[]   %!s(*tls.ConnectionState=<nil>) %!s(<-chan struct {}=<nil>) %!s(*http.Response=<nil>) %!s(*context.emptyCtx=0xc0000b2058)}

2024-04-01T20:40:14.919302+00:00 app[web.1]: 2024/04/01 20:40:14 resp: &{403 Forbidden %!s(int=403) HTTP/2.0 %!s(int=2) %!s(int=0) map[Accept-Ranges:[bytes] Cache-Control:[private, no-store] Content-Length:[1484] Content-Type:[text/html] Date:[Mon, 01 Apr 2024 20:40:14 GMT] Nel:[{"report_to": "w3-reporting-nel", "max_age": 14400, "include_subdomains": false, "success_fraction": 1.0, "failure_fraction": 1.0}] Report-To:[{"group": "w3-reporting-nel", "max_age": 14400, "include_subdomains": true,  "endpoints": [{ "url": "https://w3-reporting-nel.reddit.com/reports" }]}, {"group": "w3-reporting", "max_age": 14400, "include_subdomains": true, "endpoints": [{ "url": "https://w3-reporting.reddit.com/reports" }]}, {"group": "w3-reporting-csp", "max_age": 14400, "include_subdomains": true, "endpoints": [{ "url": "https://w3-reporting-csp.reddit.com/reports" }]}] Retry-After:[0] Server:[snooserv] Set-Cookie:[edgebucket=79e6N7h3iJYfjmsa2K; Domain=reddit.com; Max-Age=63071999; Path=/;  secure] Via:[1.1 varnish]] {%!s(*http.http2clientStream=&{0xc000083980 0xc0000f6700 <nil> 1 0xc0001e4f00 {{0 0} {{} 0xc0000db8e8 {1 1 0 <nil> <nil>} 824634620192} 0xc000192a00 0 0xc000098050 <nil> <nil> 0x6eec60} false true 0x6eebf0 {65535 0xc0000839e0} {4192820 0xc0000839f0} 972 <nil> 0xc000098970 false 0xc00008e780 <nil> 0xc00008e7e0 true true false 0 map[] 0xc0000ac738})} %!s(int64=1484) [] %!s(bool=false) %!s(bool=false) map[] %!s(*http.Request=&{GET 0xc0000f4a80 HTTP/1.1 1 1 map[User-Agent:[reddit-rss 1.0]] <nil> <nil> 0 [] false old.reddit.com map[] map[] <nil> map[]   <nil> <nil> <nil> 0xc0000b2058}) %!s(*tls.ConnectionState=&{772 true false 4865 h2 true  [0xc0000e1600 0xc0000e1b80] [] [] [48 130 1 211 10 1 0 160 130 1 204 48 130 1 200 6 9 43 6 1 5 5 7 48 1 1 4 130 1 185 48 130 1 181 48 129 158 162 22 4 20 183 107 162 234 168 170 132 140 121 234 180 218 15 152 178 197 149 118 185 244 24 15 50 48 50 52 48 51 51 49 48 54 49 57 48 54 90 48 115 48 113 48 73 48 9 6 5 43 14 3 2 26 5 0 4 20 228 227 149 162 41 211 212 193 195 31 240 152 12 11 78 192 9 138 171 216 4 20 183 107 162 234 168 170 132 140 121 234 180 218 15 152 178 197 149 118 185 244 2 16 1 61 176 58 249 172 181 69 207 245 170 242 153 249 36 200 128 0 24 15 50 48 50 52 48 51 51 49 48 54 48 51 48 50 90 160 17 24 15 50 48 50 52 48 52 48 55 48 53 48 51 48 50 90 48 13 6 9 42 134 72 134 247 13 1 1 11 5 0 3 130 1 1 0 128 145 172 221 173 181 173 127 227 99 0 0 122 84 55 9 143 174 52 85 130 240 68 90 94 230 57 42 182 208 83 153 160 26 157 244 217 209 18 222 126 251 155 26 194 196 3 97 23 250 37 145 207 206 139 16 28 101 93 165 113 165 245 237 226 147 175 65 255 123 178 135 221 116 40 87 112 18 157 236 115 71 40 188 17 1 44 210 45 125 113 215 170 67 77 228 101 4 186 80 130 49 100 9 185 211 93 248 240 65 163 244 83 45 227 25 205 211 217 25 160 47 116 249 232 117 211 187 78 114 199 111 117 26 36 171 26 182 205 28 191 103 64 244 53 60 192 146 107 25 77 79 251 102 46 13 103 247 185 205 240 161 210 82 155 34 120 86 102 92 20 126 4 13 230 236 217 70 171 126 144 23 44 94 238 235 29 88 61 96 59 184 56 174 186 243 33 178 184 180 136 86 163 215 197 9 244 87 44 132 181 157 36 129 111 116 131 53 118 144 132 153 255 146 249 83 247 161 75 7 110 17 235 107 208 20 216 53 103 250 237 46 146 215 53 140 61 219 243 86 32 242 53 252 53 147] 0x643b50 []})}

When I switched over to my local machine I can get it to work if I replace redditURL with https://reddit.com (not using old.reddit.com), However this only works on my local machine and I can't get it to work from Heroku. I tried to create a new app (thinking maybe the old one was blocked) but that did not resolve it.

Are the "top?t=" parameters supported?

I haven't yet managed to build in Docker โ€” I prefer fetching reddit content sorted by either the daily, weekly, monthly (or even yearly) top on a per-subreddit basis (depending on the activity).

the strings:

top?t=day
top?t=week
top?t=month
top?t=year
top?t=all

for instance
https://reddit.com/r/Games/top?t=day and https://reddit.com/r/linux/top?t=week


not listed under https://github.com/trashhalo/reddit-rss#query-params

proxy client error

Hi,
am self hosting on docker with tt-rss, and i see these error on container console, any idea?

2020/11/09 18:40:12 failed to get proxy client no proxy found,
2020/11/09 13:34:47 failed to get proxy client no proxy found

thanks

Reddit feed for user comments ?

First & Foremost this is awesome project ! I was looking for to follow some specific users on reddit and had to pass via another service to make the feed and limited by the number of users at the end.

Thanks !

I would love to see the user comment feed added to the project.
https://www.reddit.com/user/USERNAME/comments/.json

When applied to your url, unfortunately i am getting all comment url but blank in term of content.

Thanks for all the job done that make easyer to follow reddit content

display username in rss feed

usernames aren't shown in posts. that information is relevant especially in RSS readers with a rule/filtering engine.

Images in Reddit posts with multiple images are jumbled up

There is post type on reddit with multiple images. Currently, the order of these images is jumbled up as compared to that of website.

Eg. https://old.reddit.com/r/india/comments/pwyuev/rajasthan_government_shuts_down_the_internet_again/ images of this post were jumbled up in my reader

Here's the item in rss feed

<item>
      <title>Rajasthan government shuts down the internet, again.</title>
      <link>https://www.reddit.com/gallery/pwyuev</link>
      <description></description>
      <content:encoded><![CDATA[<p><a href="https://old.reddit.com/r/india/comments/pwyuev/rajasthan_government_shuts_down_the_internet_again/">comments</a></p> <div><img src="https://preview.redd.it/26xq28jnb6q71.png?width=1200&format=png&auto=webp&s=00fdad7caa5bc568df2d8b094263a9ba2b5a7291" /><br/><img src="https://preview.redd.it/99jbu8jnb6q71.png?width=1200&format=png&auto=webp&s=c8d2150460c02ba91c4b7c53e923353cdbc6bd1f" /><br/><img src="https://preview.redd.it/dwa688jnb6q71.png?width=1200&format=png&auto=webp&s=28158646005f1ff8cde64ce2cf06800dccebca13" /><br/><img src="https://preview.redd.it/nztmx8jnb6q71.png?width=1200&format=png&auto=webp&s=197a0cbc7d90de759d92e49806a5015ea8e67a81" /><br/><img src="https://preview.redd.it/exwc78jnb6q71.png?width=1200&format=png&auto=webp&s=5d35c45ec7812984bce4f9848c13641149365088" /><br/><img src="https://preview.redd.it/9h5srajnb6q71.png?width=1200&format=png&auto=webp&s=4a0afaeec7bf61a7f5e4e5009b160180bf02bf15" /><br/><img src="https://preview.redd.it/wthgeajnb6q71.png?width=1200&format=png&auto=webp&s=fb68bbf84040f28f2ca5097c7db9b50ab93c2a19" /><br/><img src="https://preview.redd.it/7jepj5jnb6q71.png?width=1200&format=png&auto=webp&s=3b6124e29aecfed6af895db51b4384672f59eb24" /><br/><img src="https://preview.redd.it/yx6q19jnb6q71.png?width=1200&format=png&auto=webp&s=bd165d04a28f86ad9f14438ec7c2260e2e0534ba" /><br/><img src="https://preview.redd.it/f0jug7jnb6q71.png?width=1200&format=png&auto=webp&s=b51a3305a62acfef616c1fb20363b3649f6210da" /><br/></div>]]></content:encoded>
      <author>www.reddit.com</author>
      <guid>pwyuev</guid>
      <pubDate>Tue, 28 Sep 2021 04:44:57 +0000</pubDate>
    </item>

Redgifs

You know..redgifs are kind of slow. I do not know whether its this feeds fault though.

Can't handle ampersand in flairs

It seems to break when there is an ampersand in the flair. I have tried with both the ampersand and %26, and neither seems to work. I have been trying https://reddit.0qz.fun/r/cybersecurity.json?flair=News%20-%20Breaches%20%26%20Ransoms , which is for https://www.reddit.com/r/cybersecurity/?f=flair_name%3A%22News%20-%20Breaches%20%26%20Ransoms%22

Stopped working. Site is gone, no longer redirects to announcement post.

While I tried to get the RSS feed of a user I realized feed no longer worked, I tried to enter the domain reddit.0qz.fun to see did I wrote it correctly or not but browser threw an error saying it couldn't reach the site (DNS_PROBE_FINISHED_NXDOMAIN). When I checked my feeds I realised I entered it correctly, this also explained why I wasn't getting as much stuff on my feed when I refreshed.

Exclude flair

It would be awesome to be able to see all entries except certain flairs.

Score Limit stopped working

The score limit stopped working around 10 or so hours ago and all posts are coming into the feed unfiltered.

Body text doesn't appear

When the post doesn't have an image or doesn't link an article feed shows nothing. Just the title, I can't see the body text of the post.

How to reproduce:
Just grab the feed of a subreddit where people mostly ask questions like r/fossdroid

filter posts by flair

Chat request:

Howdy; looks like comments are now archived on this thread: https://www.reddit.com/r/rss/comments/galitc/my_improved_reddit_rss_feed_now_support_videos/ but I was wondering if there was any chance that your code could support filtering by flair post?
Specifically, I recently got Tesla solar panels installed, and it looks like the majority of reddit posts take place under the https://www.reddit.com/r/teslamotors/ sub-reddit. But most posts are about their vehicles, and it's only if you filter by flair that you see the solar posts: https://www.reddit.com/r/teslamotors/?f=flair_name%3A%22Energy%20Products%22

RSS down for weeks now?

Is this wonderful script still supported? It has been down for weeks now.

I did try using the installer Heroku, surprisingly, it's also down/not working.
Now I wonder if this script has been banned by Heroku or what?

May I ask how can I host this on a Linux sharedhosting? I asked around, no one seems to know.

How much does it costs you?

I use your domain and get a lot of feeds. Are you okay there? Is the cost manageable? I promise to pay you back when I start earning lol.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.