
Security News
Meet Socket at Black Hat Europe and BSides London 2025
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.
wayback-news-search
Advanced tools
🚧 under construction 🚧
A simple client library to access the Wayback Machine news archive search.
pip install wayback-news-search
Counting matching stories:
from waybacknews.searchapi import SearchApiClient
import datetime as dt
api = SearchApiClient("mediacloud")
api.count("coronavirus", dt.datetime(2022, 3, 1), dt.datetime(2022, 4, 1))
Paging over all matching results:
from waybacknews.searchapi import SearchApiClient
import datetime as dt
api = SearchApiClient("mediacloud")
for page in api.all_articles("coronavirus", dt.datetime(2022, 3, 1), dt.datetime(2022, 4, 1)):
do_something(page)
Install the dependencies for dev: pip install -e .[dev]
pytest to make sure all the test passwaybacknews/__init__.pypython setup.py sdist to create an installation packagetwine upload --repository-url https://test.pypi.org/legacy/ dist/* to upload it to PyPI's test platformtwine upload dist/* to upload it to PyPIexpanded results, and more integration testingpaged_articles method to allow paging over all resultsurl field searcharticle endpoint, test case for fetching content (snippet) via article_url propertyFAQs
Wayback Machine news archive search api client
We found that wayback-news-search demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.