fhamborg / news-please

news-please - an integrated web crawler and information extractor for news that just works
Apache License 2.0
1.99k stars 414 forks source link

Adaptation for recent version of ElasticSearch Python API #246

Closed wang-haoxian closed 1 year ago

wang-haoxian commented 1 year ago

Hello, I am trying to make use of this wonderful repo. And I was trying to use ElasticSearch as storage backend.
I found that the ElasticSearch API had a lot of changes. So I create this PR with the corresponding code.

Issue related: https://github.com/fhamborg/news-please/issues/247

wang-haoxian commented 1 year ago

I will complete the Doc afterwards if you find this PR useful.