GoogleNews
Install
pip install GoogleNews
Usage
- Initializing
from GoogleNews import GoogleNews
googlenews = GoogleNews()
- Search keyword Default return first page result
googlenews.search('APPL')
- Get other page of search results
googlenews.getpage(2)
- Get result
It will return a list,
[{'title': '...', 'media': '...', 'date': '...', 'desc': "...", 'link': '...', 'img': '...'}]
googlenews.result()
or just get a list of news titles
googlenews.gettext()
or just get a list of news links
googlenews.getlinks()
- Clear result list Clear result list before you get another search or page
googlenews.clear()
Metadata
Release files for GoogleNews 1.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| GoogleNews-1.1.2.tar.gz | 12.0 kB | Without provenance | Details for GoogleNews-1.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| GoogleNews-1.1.2-py3-none-any.whl | Python 3 | none | any | Details for GoogleNews-1.1.2-py3-none-any.whl |
Total release size: 15.9 kB
Release files / GoogleNews-1.1.2.tar.gz
| Download URL | GoogleNews-1.1.2.tar.gz |
|---|---|
| Size | 12.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
168a8264f52caf84d2794e7fabc59ef6983d6cb5938a72d31ea435a9d3e218c5
|
|
BLAKE2b-256 checksum How to use checksums |
239ccdedb26497d993cd3f7fc1aa033ed441ae9e9d9af56d56d754013d80f064
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
|
Release files / GoogleNews-1.1.2-py3-none-any.whl
| Download URL | GoogleNews-1.1.2-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0bdca67a7b87584fd4491bded97ea3fea4b1877a417b34b007755e453e575d06
|
|
BLAKE2b-256 checksum How to use checksums |
2bbd75c5737e0872f53e769a839878566101a5f9254f20c6b1329277da35fec7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
|
Security for GoogleNews 1.1.2
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.