Skip to content

Commit

Permalink
Merge pull request #6 from Smlep/develop
Browse files Browse the repository at this point in the history
Release 0.0.5
  • Loading branch information
Smlep authored Nov 28, 2020
2 parents c19190f + f6ac051 commit 8f7045a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Currently the gathered news are the following:
The package can be installed with:

```
pip install smlep_news
pip install smlep-news
```

Architecture
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="smlep_news",
version="0.0.4",
version="0.0.5",
description="Custom news scrapper",
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down
2 changes: 1 addition & 1 deletion smlep_news/product_hunt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def get_top_products(client_id, client_secret, from_date, count=10):
}
# .format() does not handles well {} in strings, falling back to %s
body = {
"query": 'query { posts( first: %s postedAfter: "%s" ) { edges { node { id name description tagline url votesCount } } } } '
"query": 'query { posts( first: %s postedAfter: "%s" order: VOTES) { edges { node { id name description tagline url votesCount } } } } '
% (count, from_date.strftime("%Y-%m-%dT%H:%M:%S.%f%z"))
}

Expand Down

0 comments on commit 8f7045a

Please sign in to comment.