Git Product home page Git Product logo

html2rss / html2rss-configs Goto Github PK

View Code? Open in Web Editor NEW
22.0 2.0 7.0 352 KB

๐Ÿ“‡ A growing collection of html2rss feed configs. Generate configs with the handy generator.

Home Page: https://html2rss.github.io/configs/

License: MIT License

Ruby 97.16% Shell 0.63% Makefile 2.21%
html2rss configuration html2rss-web presets scraping html2rss-configs feed feed-configs dynamic-parameters

html2rss-configs's Issues

ArgumentError when trying to generate a new config

I have tried to generate a new configuration, but when I ran bin/generator it immediately crashed with the following error:

nawordar ~/html2rss-configs (master)
โฏ bin/generator
/home/nawordar/.gem/ruby/3.0.0/gems/bundler-1.17.3/lib/bundler/shared_helpers.rb:29: warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2.
/home/nawordar/.gem/ruby/3.0.0/gems/bundler-1.17.3/lib/bundler/shared_helpers.rb:118: warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2.
/home/nawordar/.gem/ruby/3.0.0/gems/bundler-1.17.3/lib/bundler/shared_helpers.rb:118: warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2.
/home/nawordar/.gem/ruby/3.0.0/gems/bundler-1.17.3/lib/bundler/shared_helpers.rb:35: warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2.
/home/nawordar/.gem/ruby/3.0.0/gems/bundler-1.17.3/lib/bundler/shared_helpers.rb:35: warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2.
/home/nawordar/.gem/ruby/3.0.0/gems/bundler-1.17.3/lib/bundler/shared_helpers.rb:44: warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2.
/home/nawordar/.gem/ruby/3.0.0/gems/bundler-1.17.3/lib/bundler/shared_helpers.rb:118: warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2.
html2rss config generator

This wizard will help you create a new feed config.

You can quit at any time by pressing Ctrl+C.

/home/nawordar/html2rss-configs/.bundle/ruby/3.0.0/gems/tty-prompt-0.23.0/lib/tty/prompt.rb:201:in `ask': wrong number of arguments (given 2, expected 0..1) (ArgumentError)
        from /home/nawordar/html2rss-configs/lib/html2rss/configs/generator/question.rb:21:in `ask'
        from /home/nawordar/html2rss-configs/lib/html2rss/configs/generator/collector.rb:35:in `each'
        from /home/nawordar/html2rss-configs/lib/html2rss/configs/generator/collector.rb:35:in `collect'
        from /home/nawordar/html2rss-configs/lib/html2rss/configs/generator.rb:21:in `start'
        from bin/generator:7:in `<main>'

I am new to Ruby, so I'm not sure if I configured everything correctly. I ran the following commands before starting the generator:

gem install bundler:1.17.3
bundle install --path .bundle

EDIT Never mind, I used too new Ruby version: 3.0.0. Using asdf-vm to use 2.7.4 fixed the problem

Dependency Dashboard

This issue provides visibility into Renovate updates and their statuses. Learn more

This repository currently has no open or pending branches.


  • Check this box to trigger a request for Renovate to run again on this repository

improve the config generator

The feed config generator, in its current state, is a bit clunky to use. The rails world is full of generators which scaffold some files. So, I imagine, having rake config https://example.com/path could automatically:

  • create the feed config
  • create the feed config's spec
  • could prefill some values in the feed config (channel title (from page's <title>)), language, etc (open graph and meta tags)

In another iteration it could also suggest the selectors, but that's a topic for another day.

migrate from travis to github actions

TravisCI.org is still connected, but somehow not sending information to PRs. As I had some more struggles with travis recently, I'd like to move the CI to Github Actions.

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.