Metadata-Version: 2.2
Name: ddg2rss
Version: 1.0.1
Summary: Convert DuckduckGo News to RSS feed
Author-email: Thibaut_S <py@spriet.online>
License: MIT-License
Project-URL: Homepage, https://gitlab.com/Thibaut_S/ddg2rss
Project-URL: Bug Tracker, https://gitlab.com/Thibaut_S/ddg2rss/-/issues
Keywords: rss,feed,ddg
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: duckduckgo-search
Requires-Dist: feedgen
Requires-Dist: python-slugify
Provides-Extra: dev
Requires-Dist: wheel; extra == "dev"
Requires-Dist: pytest; extra == "dev"
Requires-Dist: ruff; extra == "dev"
Requires-Dist: black; extra == "dev"
Requires-Dist: pip-tools; extra == "dev"
Requires-Dist: twine; extra == "dev"

# DDG2RSS

[![](https://img.shields.io/pypi/v/ddg2rss)](https://pypi.org/project/ddg2rss/)
[![](https://img.shields.io/pypi/dm/ddg2rss)](https://pypi.org/project/ddg2rss/)
[![](https://gitlab.com/Thibaut_S/ddg2rss/badges/main/pipeline.svg)](https://gitlab.com/Thibaut_S/ddg2rss/-/pipelines)


Package python permettant de générer un flux rss au format xml, à partir de duckduckgo news, avec une recherche par mots clés.


Installation
---

```bash
python3 -m venv env
source env/bin/activate
pip install ddg2rss
```

Utilisation
---

```python
>>> from ddg2rss.generator import rss_file

>>> rss_file(
        link="https://public_link_of_your_output.xml", 
        keywords="Your search here",
        output_dir="/absolute/or/relative/path/to/your/output/directory"
    )
```
