Git Product home page Git Product logo

freshrss-flaresolverr-extension's People

Contributors

cn-tools avatar dix avatar net005 avatar ravenscroftj avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

freshrss-flaresolverr-extension's Issues

Full text extraction should connect through FlareSolverr

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.

How do you set it up correctly?

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

http://192.168.1.7:8191/

{"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"

Error "XML Parsing Error: no root element found" and "PHP message: PHP Warning: Undefined array key "viahtml" in /app/www/p/api/cloudsolver.php on l>

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.

YggTorrent : error from cloudsolver.php on line 13

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.

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.