Scrape wikipedia to get to psychology
Project description
WikiPsy
Provides multiple functionalities for scraping wikipedia, the centerpoint being getting to psychology.
Installation
Use pip:
pip install wikipsy
And then run
❯ wikiscrape --help
Usage: wikiscraper [OPTIONS] COMMAND [ARGS]...
╭─ Options ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --install-completion Install completion for the current shell. │
│ --show-completion Show completion for the current shell, to copy it or customize the installation. │
│ --help Show this message and exit. │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ graph-multiple Given multiple wikipedia pages, scrapes and generated a directed graphviz source file showing the those articles' path to Psychology. For ease of use, direct the │
│ output of this command into a graphviz dot file. │
│ psychology Scrapes the leading hyperlink of Wikipedia pages recursively until the page "Psychology" is reached. │
│ scrape Scrape a Wikipedia page for its hyperlinks. Ignores the topmost note section and links in parenthetical sentences. │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
wikipsy-1.1.2.tar.gz
(6.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wikipsy-1.1.2.tar.gz.
File metadata
- Download URL: wikipsy-1.1.2.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f0a6225be92b683041d3fc8e49e0af897d5645ed7b99356dec89d78c7241a27
|
|
| MD5 |
601a37ed443f622ea38b55a7e7d6ed11
|
|
| BLAKE2b-256 |
28a1613fc4ef1e95c397c5b602708cb8cabb6db3c785ec8e821792d7d326cde7
|
File details
Details for the file wikipsy-1.1.2-py3-none-any.whl.
File metadata
- Download URL: wikipsy-1.1.2-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b6fd381852c3c62a3daf1d8f64d14eef53508268bc4ed4586a8d615eca7b4adc
|
|
| MD5 |
c71f4bd77686c13ea5d101541cffdd69
|
|
| BLAKE2b-256 |
716456c480107a7425f35d095cc1b05cf730685d086ae2a207ff83349917b450
|