Une interface commune pour récupérer des articles de journaux
Previously, self_html_function was a function taking all parameters as arguments. As new optionnal parameters are beeing added, the function had too much arguments and each usage of the function would have to be modified each time an argument will be added. Therefore, it have been moved to a configuration structure with a `run` function taking only one argument, the html string. |
||
---|---|---|
.gitea/issue_template | ||
containers | ||
crieur-chatbot | ||
crieur-retrieve | ||
documentation | ||
examples | ||
src/bin | ||
.drone.yml | ||
.gitattributes | ||
.gitignore | ||
.rustfmt.toml | ||
Cargo.lock | ||
Cargo.toml | ||
justfile | ||
README.md |
Tools to retrieve articles from multiple newspaper you subscribed to, all from the same place.
This is a prototype, it isn't stable at all and you may not want to use it if you expect it to just work !
How to use it
First retrieve login cookies for websites and put it in a .env
such as
explained in the newspaper source configuration
documentation
Then you can run an example using
cargo run --example=cli_downloader
You can also specify the URL using
cargo run --example=cli_downloader -- [your url]
To know how to run the chatbot, please read the chatbot guide