The repository or configuration that created this release differ from a previous release. View details.
Epstein DOJ Multimedia Search Client
CLI tool to query the DOJ Multimedia Search API and export document metadata.
Installation
With uv installed:
uv sync
Or with pip:
pip install -r requirements.txt
Usage
Using the CLI module (recommended)
python3 -m epstein.cli --search "donald" --limit 50
Using legacy main.py (backward compatible)
python3 main.py --search "artificial intelligence" --limit 100
Basic search
python3 -m epstein.cli --search "donald" --limit 50
Search and save results to files
python3 -m epstein.cli --search "artificial intelligence" --limit 100 --prefix ai_docs --output-path reports
This creates three files in the reports directory:
ai_docs_TIMESTAMP.json- Full document metadata in JSONai_docs_TIMESTAMP.csv- Comma-separated values for spreadsheet importai_docs_TIMESTAMP_urls.txt- Plain text list of document URLs
Preview results without saving
python3 -m epstein.cli --search "epstein" --limit 20 --no-save --head 5
All options
python3 -m epstein.cli --help
Common options:
-s, --search TERM- Search query (empty = all documents)-l, --limit N- Maximum number of results to fetch-d, --delay SECONDS- Delay between API requests (default: 0.5)-o, --prefix NAME- Output file prefix (default: epstein_library)--output-path PATH- Directory to save report files (default: lib_data)--no-save- Don't save to files, just display results--head N- Number of top results to display (default: 10)
Examples
Search for documents mentioning "Trump":
python3 -m epstein.cli --search "Trump" --limit 50
Fetch 200 results with minimal delay:
python3 -m epstein.cli --search "banking" --limit 200 --delay 0.1
Get the first 5 results only, no file saving:
python3 -m epstein.cli --search "contacts" --limit 5 --no-save
Project Structure
scrape-doj/
├── epstein/ # Main package
│ ├── __init__.py # Package initialization
│ ├── client.py # API client logic
│ └── cli.py # CLI interface
├── main.py # Legacy entry point (backward compatible)
├── README.md
├── pyproject.toml # Project configuration with uv
├── requirements.txt # pip-compatible requirements
└── uv.lock # Lockfile for reproducible installs
Output Format
Each result includes:
- Title - Document filename
- File - Actual filename
- URL - Direct link to the PDF (properly URL-encoded)
- Document ID - Unique identifier
- Pages - Page range in document
- File Size - Size in bytes
- Words - Total word count
- Indexed - When the document was indexed
Requirements
- Python 3.9+
requests- HTTP librarybeautifulsoup4- HTML/XML parsing
API
You can also import and use the client directly:
from epstein import DOJMultimediaSearchClient
client = DOJMultimediaSearchClient()
documents = client.search_all(query="donald", max_results=50)
# Save results
client.save_results(documents, prefix="my_search", output_path="my_reports")
Metadata
Release files for doj-multimedia-search 0.2.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Change of provenance
The repository or configuration that created these release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| doj_multimedia_search-0.2.5.tar.gz | 62.4 kB | With provenance | Details for doj_multimedia_search-0.2.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| doj_multimedia_search-0.2.5-py3-none-any.whl | Python 3 | none | any | Details for doj_multimedia_search-0.2.5-py3-none-any.whl |
Total release size: 70.6 kB
Release files / doj_multimedia_search-0.2.5.tar.gz
Change of provenance
This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
| Download URL | doj_multimedia_search-0.2.5.tar.gz |
|---|---|
| Size | 62.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dc4f37003b144f62f083b7e6b3799a49cacd2834601964ce2247722a4558b5b1
|
|
BLAKE2b-256 checksum How to use checksums |
d1517b0a5091f4f56134cdd85941dba2c76c93618428c49d8ef65af9bc7dc2bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 8, 2026.
Transparency logRelease files / doj_multimedia_search-0.2.5-py3-none-any.whl
Change of provenance
This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.
We recommend inspecting the repository and configuration before proceeding. View details.
| Download URL | doj_multimedia_search-0.2.5-py3-none-any.whl |
|---|---|
| Size | 8.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3a810c2fabef05d13e61a95b6ba0c88d2705900abfdb8a38adc8bf8240fefe91
|
|
BLAKE2b-256 checksum How to use checksums |
d195b6b665d370df30ca18642f65b2a977696cb6e0c70069ce21e7fd7540be9a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 8, 2026.
Transparency logSecurity for doj-multimedia-search 0.2.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Change of provenance
The repository and configuration that created this release differ from a previous release.
While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.
Repository
- Removed 0.2.0 github.com/soumyadepp/epstein-cli
- Added 0.2.5 github.com/soumyadepp/doj-eps-extractor
Attestation for doj_multimedia_search-0.2.5.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 8, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.