Skip to main content

nsloader

Test PyPI version
This script collects articles from Wall Street Journal and returns it in dict format.

Installing nsloader and Supported Versions


nsloader is not registered on the pypi. You have to download from github directly.

$ python -m pip install nsloader

nsloader is tested by Python 3.10.

Dependencies


Additionaly, you have to execute install playwright in your execution environment.

Usage


To load the Wall Street Journal articles and parse to dictionay format.

Wall Street Journal

NOTE: You have to set 2 enviroment valiables name as WSJ_USERNAME and WSJ_PASSWORD before execution.

>>> from nsloader import wsj
>>> article = wsj.Article()
>>> article.load('https://www.wsj.com/articles/...')
>>> print(article.to_dict())
{"url": "https://www.wsj.com/articles/...", "title": "The Fed ...", "sub_title": "As expected ...",  ... }

Metadata

Release files for nsloader 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nsloader 1.1.0
File Size Uploaded Provenance
nsloader-1.1.0.tar.gz 4.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for nsloader 1.1.0
File Interpreter ABI Platform
nsloader-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.6 kB

Release files / nsloader-1.1.0.tar.gz

Download URL nsloader-1.1.0.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4d7129c4e1619c34510fcda15e71124c8c82d3202b49072a5044f32e48b86de9
BLAKE2b-256 checksum
How to use checksums
c0e989334f5fe6b59098564b7557baab6277aca5e8d88ab27e30768d010c7180
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.3

Release files / nsloader-1.1.0-py3-none-any.whl

Download URL nsloader-1.1.0-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
441c2d9de3d22d79b4a2a941777ced3efd87435cd10664ffa3f253c6cdecbfb8
BLAKE2b-256 checksum
How to use checksums
e1c81f798b5731d783ea40338306ad79d0126cd4b53c7ef0cf093e437976fc36
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.3

Security for nsloader 1.1.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page