PaulSec / API-dnsdumpster.com

(Unofficial) Python API for https://dnsdumpster.com/
274 stars 88 forks source link

print_function, make it happy with Py2 #15

Closed paralax closed 6 years ago

PaulSec commented 6 years ago

Reviewed and merged! Thanks Jose :+1:

aancw commented 6 years ago

@PaulSec If you don't mind, please update pypi package(https://pypi.python.org/pypi/dnsdumpster) for this fix because i'm still using python2 :)

I want to include your API as part of my plugins ( https://github.com/aancw/Belati )

Thanks!

PaulSec commented 6 years ago

Sure, I will do this at home tonight!

aancw commented 6 years ago

Thanks!

And one more little change for this repo:

Then import the class and start playing:

from dnsdumpster.DNSDumpsterAPI import DNSDumpsterAPI
results = DNSDumpsterAPI.DNSDumpsterAPI().search('microsoft.com')

You are mistyping, it should be:

Then import the class and start playing:

from dnsdumpster.DNSDumpsterAPI import DNSDumpsterAPI
results = DNSDumpsterAPI().search('microsoft.com')
PaulSec commented 6 years ago

Done for both! Thank you 👍