Comments (4)
Mmmh.. interesting.
I will investigate this and let you know what is happening.
I can't reproduce with python 3.6:
✗ python3
Python 3.6.1 (default, Apr 4 2017, 09:40:21)
[GCC 4.2.1 Compatible Apple LLVM 8.1.0 (clang-802.0.38)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from dnsdumpster.DNSDumpsterAPI import DNSDumpsterAPI
>>> res = DNSDumpsterAPI(True).search('example.com')
[verbose] Retrieved token: aML8I9ctPNosWFRqgEFatv0KSeEhnxkR
>>> res
{'domain': 'example.com', 'dns_records': {'dns': [{'domain': 'b.iana-servers.net.', 'ip': '199.43.133.53', 'reverse_dns': 'b.iana-servers.net', 'as': 'AS1280', 'provider': 'Internet Systems Consortium, Inc.', 'country': 'United States', 'header': ''}, {'domain': 'a.iana-servers.net.', 'ip': '199.43.135.53', 'reverse_dns': 'a.iana-servers.net', 'as': 'AS26710', 'provider': 'ICANN', 'country': 'United States', 'header': ''}], 'mx': [], 'txt': ['"$Id: example.com 4415 2015-08-24 20:12:23Z davids $"', '"v=spf1 -all"'], 'host': [{'domain': 'www.example.com', 'ip': '93.184.216.34', 'reverse_dns': '', 'as': 'AS15133', 'provider': 'MCI Communications Services, Inc. d/b/a Verizon Business', 'country': 'United States', 'header': 'ECS (mdw/13C6)'}]}, 'image_data': b'iVBORw0KGgoAAAANSUhEUgAABi0AAAEVCAIAAAATkzH6AAAABmJLR0QA/wD/AP+gvaeTAAAgAElEQVR4nOzdd3hUZdo/8OeUqZmS3gsBQpX3RQJY2WUtIIo/BBHERR
from api-dnsdumpster.com.
Can you try to update BeautifulSoup by running pip install --upgrade beautifulsoup4
?
This should fix the issue.
from api-dnsdumpster.com.
Its working in python2,
But the result is not proper
from api-dnsdumpster.com.
It's working as expected.
What you get first is the image in the image_data
entry.
Check this file to interact with the different entries: https://github.com/PaulSec/API-dnsdumpster.com/blob/master/dnsdumpster/API_example.py
from api-dnsdumpster.com.
Related Issues (11)
- Regarding PHP code.
- Index out of range error HOT 8
- is Python3 supportted? HOT 1
- requests.exceptions.SSLError: EOF occurred in violation of protocol (_ssl.c:590) HOT 2
- list index out of range HOT 2
- Messy output? HOT 1
- IndexError: list index out of range
- update pip repository HOT 1
- get error when getting results HOT 3
- had to use: from dnsdumpster.DNSDumpsterAPI import DNSDumpsterAPI HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from api-dnsdumpster.com.