ravenscroftj / freshrss-flaresolverr-extension Goto Github PK
View Code? Open in Web Editor NEWFreshRSS plugin that provides cloudflare puzzle solving via flaresolverr
License: GNU Affero General Public License v3.0
FreshRSS plugin that provides cloudflare puzzle solving via flaresolverr
License: GNU Affero General Public License v3.0
When I try to enable the extension, I get the following error message:
Cannot enable extension FreshRss FlareSolverr: server cannot write in /var/www/FreshRSS/p/api
I'm guessing the extension tries to write to the running instance but can't because FreshRSS is running as a Docker image?
If I restart FreshRSS, I get 404 errors from the feeds created by the extension until I turn the extension off and back on in settings.
Not sure this is possible with the current architecture of FreshRSS (not sure what hooks are exposed), but use of this extension presents a subtle problem if you want to use full-text extraction. FreshRSS will try to directly connect to the link in the feed, and this of course will cause a Cloudflare challenge most likely. This is the case for https://gateworld.net.
If it's possible, the extension should override the full-text extraction code to connect to the article's page via FlareSolverr. This should only happen for feeds using the extension.
Hi!
FreshRSS Flaresolverr Extension installed using docker compose
version: "2.1"
services:
flaresolverr:
image: ghcr.io/flaresolverr/flaresolverr:latest
restart: always
environment:
- LOG_LEVEL=info
ports:
- 8191:8191
freshrss:
image: lscr.io/linuxserver/freshrss:latest
container_name: freshrss
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/London
volumes:
- ./data:/config
ports:
- 9089:80
restart: unless-stopped
in
Please enter the URL of your FlareSolverr instance
http://192.168.1.7:8191
Prepend your feed URL with: http://192.168.1.7/api/cloudsolver.php?feed=
In Freshrss journal
cURL error 22: The requested URL returned error: 404 [http://192.168.1.7/api/cloudsolver.php?feed=https://sanet.st/books/tag/medical/rss/]
I open it in the browser
{"msg": "FlareSolverr is ready!", "version": "3.3.10", "userAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"}
http://192.168.1.7:8191/api/cloudsolver.php?feed=https://www.gateworld.net/feed/
{"error": "Not found: '/api/cloudsolver.php'", "status_code": 404}
PS. You may have an error in the readme
"... and set the feed url in FreshRSS to:
https://freshrss.example.com/api/cloudsolver.php?feed=[https:/](https://nlpnewsletter.substack.com/feed)https://nlpnewsletter.substack.com/feed"
Getting no result on: https://www.fanfiction.net/atom/l/?&cid1=224&r=103&s=1
Hi,
I tried to setup the extension today, but no luck for me, I keep having blank screen when I try it or sometimes this error appear :
XML Parsing Error: no root element found Location: http://192.168.1.133:9089/api/cloudsolver.php?feed=https%3A%2F%2Fwww3.yggtorrent.cool%2Frss%3Faction%3Dgenerate%26type%3Dcat%26id%3D2145%26passkey%3D01010101xxx Line Number 1, Column 1:
I thought I have the same problem of the guy from issue #7, but nope always the same.
So I dove into the folders and I found the error.log, where the following appear :
Stack trace: #0 /app/www/p/api/cloudsolver.php(49): DOMDocument->loadXML() #1 {main} thrown in /app/www/p/api/cloudsolver.php on line 49" while reading response header from upstream, client: 192.168.1.101, server: _, request: "GET /api/cloudsolv> 2024/05/11 20:35:37 [error] 263#263: *114 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "viahtml" in /app/www/p/api/cloudsolver.php on l>
My Flaresolverr instance is at http://192.168.1.133:8191 and scream happily "FlareSolverr is ready!", and my FreshRss instance is at http://192.168.1.133:9089, both running in docker containers.
I try using this url to see the rss feed : http://192.168.1.133:9089/api/cloudsolver.php?feed=https%3A%2F%2Fwww3.yggtorrent.cool%2Frss%3Faction%3Dgenerate%26type%3Dcat%26id%3D2145%26passkey%3D01010101xxx
I must do something wrong, but can't find what or why.
Hello.
I tried to retrieve a RSS feed from YggTorrent.
Here is the source of the feed : https://pastebin.com/3P3Rcu8w
Error message :
Erreur d’analyse XML : données incompréhensibles après l’élément de document Emplacement : https://rss.ouahouah.eu/p/api/cloudsolver.php?feed=https://www3.yggtorrent.qa/rss?action=generate&type=subcat&id=2182&passkey=XXXXXXXXXx Numéro de ligne 2, Colonne 1 : <b>Warning</b>: Undefined array key "viahtml" in <b>/home/XXXXXXXX/frss/p/api/cloudsolver.php</b> on line <b>13</b><br /> ^
Any idea of the problem ?
Flaresolverr is running ok.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.