ravenscroftj / freshrss-flaresolverr-extension

FreshRSS plugin that provides cloudflare puzzle solving via flaresolverr
GNU Affero General Public License v3.0
13 stars 4 forks source link

How do you set it up correctly? #6

Open Magisdn opened 7 months ago

Magisdn commented 7 months ago

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"

BiscuitHub commented 5 months ago

Good day @Magisdn

If you're still at this, the Prepend+FeedUrl should be:

https://[your-freshrss-address]/api/cloudsolver.php?feed=

so I'm guessing for your install it is:

https://192.168.1.7:9089/api/cloudsolver.php?feed=https://www.gateworld.net/feed/

JoshuaArus commented 2 months ago

Using docker is slightly different:

remove the ports part of flaresolverr container (exposition of this port outside the containers is not mandatory) :

version: "2.1"
services:
  flaresolverr:     
    image: ghcr.io/flaresolverr/flaresolverr:latest
    restart: always
    environment:
      - LOG_LEVEL=info

  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

Then, the URL to configure in the extension is not http://192.168.1.7:8191/ but http://flaresolverr:8191/