<h1>Webtoons site scraper, for Python 3</h1>
</center>
Note: this module was based off of [this](https://github.com/Galactus03/webtoons)
repository for Python2. Big thanks to @Galactus03!
I added more resiliency to the functions, transferred all code to Python3 syntax, fixed quite some bugs, and made it return results.
----
This module has these functions:
`popularity_age(age, sex, toShow)` -> takes in parameters age, sex, and toShow. If not given, random.choice chooses age and sex, and toShow defaults to integer 5.
Returns list of toShow amount of the most popular webtoons based on age and sex.
`author_comics(author)` -> takes in parameter author.
Returns list of all comics that the specified author has created.
`new_releases(toShow)` -> takes in parameter toShow.
Returns list of toShow amount of webtoons that were updated today
`top10_of_day()` -> takes in no parameters.
Returns list of the top 10 most popular comics today.
`best_rated(toShow)` -> takes in parameter toShow.
Returns list of toShow amount of the most popular webtoons.
`top_in_genre(g, toShow)` -> takes in parameters g and toShow.
Returns list of toShow amount of the most popular comics in genre g.
----
<h3>INSTALLATION DIRECTIONS (pip)</h3>
To install, simply run
sudo pip3 install webtoons
to install webtoons (this module!), requests, and BeautifulSoup4, which are dependencies.
<h3>ALTERNATE INSTALLATION DIRECTIONS (cloning)</h3>
Clone the repository and install it:
git clone https://github.com/joshdabosh/webtoons.git
cd webtoons
sudo python3 setup.py install
----
<h3>USE</h3>
To use, simply start an instance of webtoons and run a few functions!
import webtoons
wt = webtoons.Webtoons()
print(wt.top10_of_day())
# prints the top 10 comics of the day
----
Comments or suggestions are welcome!
Metadata
Release files for webtoons 0.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 |
|---|---|---|---|---|
| webtoons-0.1.2.tar.gz | 3.3 kB | Without provenance | Details for webtoons-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| webtoons-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for webtoons-0.1.2-py3-none-any.whl |
Total release size: 8.6 kB
Release files / webtoons-0.1.2.tar.gz
| Download URL | webtoons-0.1.2.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dc36c38f374bd2e5204a638793ca584f95b2bd9154060292c92c0f4809039081
|
|
BLAKE2b-256 checksum How to use checksums |
9726a564ac5be7341893ebf5cdac612f35a30a00b0379a0a0997df43cc7d6fbd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/3.3 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.4.3
|
Release files / webtoons-0.1.2-py3-none-any.whl
| Download URL | webtoons-0.1.2-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9f22d89d459a2645ea4d8ba4aa6bfc66f66d3ef9155eec183f28c73753abbf55
|
|
BLAKE2b-256 checksum How to use checksums |
443703bb2a796c0ec77dac9beaf17aec117a4bb1ad48a822941c6b204dbf9466
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/3.3 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.4.3
|
Security for webtoons 0.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.