scrapwiki
A python package for scrap Wikipedia page. Fetch title, paragraph or entire page html
pip install scrapwiki
Wikipedia page example
https://en.wikipedia.org/wiki/Cat
Code example
from scrapwiki import read_url
page = read_url("https://en.wikipedia.org/wiki/Cat")
page.fetch()
print(page)
#WikipediaPage : Cat
#URL : https://en.wikipedia.org/wiki/Cat
print(page.paragraph)
#Return all paragraph <p></p>
print(page.soup)
#Return entire html
Metadata
Release files for scrapwiki 0.0.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 | |
|---|---|---|---|
| scrapwiki-0.0.2.tar.gz | 2.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| scrapwiki-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.0 kB
Release files / scrapwiki-0.0.2.tar.gz
| Download URL | scrapwiki-0.0.2.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
892860979583e4e363e3367f3e06358b7d30d613ffd88d567c6baa8d6ffc5f79
|
|
BLAKE2b-256 checksum How to use checksums |
c7da157286a3186f66ae0e304ebd473b86123d3629349efd1782723dceb18634
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.2
|
Release files / scrapwiki-0.0.2-py3-none-any.whl
| Download URL | scrapwiki-0.0.2-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5f86a67684bd100275637ece92c24d745049cd997c7a5910f9cd222490286f58
|
|
BLAKE2b-256 checksum How to use checksums |
89eeb8a0bfcf7509183e55eb491631bf900e82c3745c3634f3ab62cf9e9795bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.2
|