Hello community, here is the log from the commit of package python-shodan for openSUSE:Factory checked in at 2020-01-25 13:25:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-shodan (Old) and /work/SRC/openSUSE:Factory/.python-shodan.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-shodan" Sat Jan 25 13:25:32 2020 rev:19 rq:767034 version:1.21.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-shodan/python-shodan.changes 2020-01-06 15:24:29.544552447 +0100 +++ /work/SRC/openSUSE:Factory/.python-shodan.new.26092/python-shodan.changes 2020-01-25 13:25:40.392076339 +0100 @@ -1,0 +2,6 @@ +Sat Jan 18 10:53:58 UTC 2020 - Sebastian Wagner <[email protected]> + +- update to version 1.21.2: + - Add support for paging through the domain information + +------------------------------------------------------------------- Old: ---- shodan-1.21.1.tar.gz New: ---- shodan-1.21.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-shodan.spec ++++++ --- /var/tmp/diff_new_pack.E6vEnN/_old 2020-01-25 13:25:42.896077437 +0100 +++ /var/tmp/diff_new_pack.E6vEnN/_new 2020-01-25 13:25:42.896077437 +0100 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %{!?license: %global license %doc} Name: python-shodan -Version: 1.21.1 +Version: 1.21.2 Release: 0 Summary: Python library and command-line utility for Shodan License: MIT ++++++ shodan-1.21.1.tar.gz -> shodan-1.21.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/shodan-1.21.1/CHANGELOG.md new/shodan-1.21.2/CHANGELOG.md --- old/shodan-1.21.1/CHANGELOG.md 2019-12-25 18:37:50.000000000 +0100 +++ new/shodan-1.21.2/CHANGELOG.md 2020-01-07 06:41:53.000000000 +0100 @@ -1,6 +1,10 @@ CHANGELOG ========= +1.21.2 +------ +* Add support for paging through the domain information + 1.21.1 ------ * Add ``history`` and ``type`` parameters to ``Shodan.dns.domain_info()`` method and CLI command diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/shodan-1.21.1/PKG-INFO new/shodan-1.21.2/PKG-INFO --- old/shodan-1.21.1/PKG-INFO 2019-12-25 18:38:54.000000000 +0100 +++ new/shodan-1.21.2/PKG-INFO 2020-01-07 06:44:06.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: shodan -Version: 1.21.1 +Version: 1.21.2 Summary: Python library and command-line utility for Shodan (https://developer.shodan.io) Home-page: http://github.com/achillean/shodan-python/tree/master Author: John Matherly diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/shodan-1.21.1/setup.py new/shodan-1.21.2/setup.py --- old/shodan-1.21.1/setup.py 2019-12-25 18:03:22.000000000 +0100 +++ new/shodan-1.21.2/setup.py 2020-01-07 06:38:20.000000000 +0100 @@ -7,7 +7,7 @@ setup( name='shodan', - version='1.21.1', + version='1.21.2', description='Python library and command-line utility for Shodan (https://developer.shodan.io)', long_description=README, long_description_content_type='text/x-rst', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/shodan-1.21.1/shodan/client.py new/shodan-1.21.2/shodan/client.py --- old/shodan-1.21.1/shodan/client.py 2019-12-25 17:51:24.000000000 +0100 +++ new/shodan-1.21.2/shodan/client.py 2020-01-07 06:36:59.000000000 +0100 @@ -69,10 +69,12 @@ def __init__(self, parent): self.parent = parent - def domain_info(self, domain, history=False, type=None): + def domain_info(self, domain, history=False, type=None, page=1): """Grab the DNS information for a domain. """ - args = {} + args = { + 'page': page, + } if history: args['history'] = history if type: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/shodan-1.21.1/shodan.egg-info/PKG-INFO new/shodan-1.21.2/shodan.egg-info/PKG-INFO --- old/shodan-1.21.1/shodan.egg-info/PKG-INFO 2019-12-25 18:38:54.000000000 +0100 +++ new/shodan-1.21.2/shodan.egg-info/PKG-INFO 2020-01-07 06:44:06.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: shodan -Version: 1.21.1 +Version: 1.21.2 Summary: Python library and command-line utility for Shodan (https://developer.shodan.io) Home-page: http://github.com/achillean/shodan-python/tree/master Author: John Matherly
