RSS-Bridge / rss-bridge

The RSS feed for websites missing it
https://rss-bridge.org/bridge01/
The Unlicense
6.99k stars 1.02k forks source link

HackerNews RSS-Bridge blocked by CloudFlare #3988

Closed KAGEYAM4 closed 3 months ago

KAGEYAM4 commented 4 months ago

Describe the bug

The website is protected by CloudFlare

RSS-Bridge tried to fetch a website. The fetching was blocked by CloudFlare. CloudFlare is anti-bot software. Its purpose is to block non-humans.
403 Forbidden

The HTTP 403 Forbidden response status code indicates that the server understands the request but refuses to authorize it.

https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403
Details
Type: CloudFlareException
Code: 403
Message: https://thehackernews.com/ resulted in 403 Forbidden
File: lib/http.php
Line: 24
Trace
#0 index.php(72): RssBridge->main()
#1 lib/RssBridge.php(103): DisplayAction->execute()
#2 actions/DisplayAction.php(68): DisplayAction->createResponse()
#3 actions/DisplayAction.php(118): TheHackerNewsBridge->collectData()
#4 bridges/TheHackerNewsBridge.php(12): getSimpleHTMLDOM()
#5 lib/contents.php(162): getContents()
#6 lib/contents.php(110): HttpException::fromResponse()
#7 lib/http.php(24)

Context
Query: action=display&bridge=TheHackerNewsBridge&format=Html
Version: 2024-02-02 (git.master.598ee5b)
OS: Linux
PHP: 7.4.33

To Reproduce Steps to reproduce the behavior:

  1. Generate RssFeed of The Hacker News Bridge
dvikan commented 3 months ago

is blocked on public instance. not my dev one.

they also have their own feeds https://feeds.feedburner.com/TheHackersNews