question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Results from historical view return `CensysNotFoundException`

See original GitHub issue

I’m attempting to pull historical results from the domains dataset.

from censys.data import CensysData

series = 'domain_2018'
censys = CensysData()
series_view = censys.view_series(series)
series_results = censys.view_result(series, '20190812')
...
CensysNotFoundException: 404 (unknown): The requested page does not exist.

# however when I look for '20190812' within the historical results I find a record that makes me think it should exist
[record for record in series_view['results']['historical'] if record['id'] == '20190812']

[{'timestamp': '20190813T034051',
  'id': '20190812',
  'details_url': 'https://www.censys.io/api/v1/data/domain_2018/20190812'}]

Is there a reason the historical results would include details URLs that don’t exist?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
mattclementcommented, Aug 21, 2020

Hey @andharris, there were some miscommunications on the PR that closed this issue. Sorry about that! The data API is not being removed.

1reaction
andharriscommented, Jan 4, 2021

Sorry for the delayed response. This appears to be resolved now. Thanks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

stable PDF - Censys Python's documentation!
view - Returns the structured data we have about a specific Certificate, given the resource's natural ID. 1.4. Usage v1. 15. Page 20....
Read more >
Python Censys Export API - Stack Overflow
The result returned from the censys.ipv4.CensysIPv4.search method call is a generator object. You can consume values (dictionary objects ...
Read more >
Merge branch 'master' of github.com:MISP/misp-modules into ...
* [Censys-enrich](misp_modules/modules/expansion/censys_enrich.py) - An expansion and module to retrieve information from censys.io about a particular IP or ...
Read more >
Censys Python. Release Censys Team. Jan 28, 2021
29 Yields dict The result set returned. view(document_id: str) dict View the current structured data we have on a specific document.
Read more >
The censys-python from censys - GithubHelp
Results from historical view return `CensysNotFoundException`. I'm attempting to pull historical results from the domains dataset.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found