A library to scrape manga from Olympus Staff
Project description
manga-cad
مكتبة Python لسحب المانجا من موقع Olympus Staff بسهولة.
المميزات
- عرض المانجا الرائجة (Trending) مع صور الغلاف.
- البحث عن مانجا أو مانهوا مع صور الغلاف.
- عرض قائمة الفصول عبر رابط المانجا.
- عرض روابط صفحات الفصل عبر رابط المانجا ورقم الفصل.
التحميل
pip install manga-cad
نموذج الاستخدام
from manga_cad import OlympusScraper
scraper = OlympusScraper()
# 1 - عرض المانجا الرائجة
trending = scraper.get_trending()
for manga in trending[:5]:
print(f"Title: {manga['title']}, URL: {manga['url']}")
# 2 - البحث عن مانجا
results = scraper.search("Eleceed")
if results:
manga_url = results[0]['url']
print(f"Found: {results[0]['title']}")
# 3 - عرض الفصول عبر الرابط
chapters = scraper.get_chapters("https://olympustaff.com/series/ECD")
print(f"Total Chapters: {len(chapters)}")
# 4 - عرض صفحات فصل (رقم الفصل ورابط المانجا)
pages = scraper.get_pages("https://olympustaff.com/series/ECD", 10)
for i, page in enumerate(pages, 1):
print(f"Page {i}: {page}")
التواصل
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
manga_cad-0.1.0.tar.gz
(3.3 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 manga_cad-0.1.0.tar.gz.
File metadata
- Download URL: manga_cad-0.1.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0rc1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e266e81d24694ba45e0d1816ceea554832552f74794fd0ea016aa234bfe95801
|
|
| MD5 |
d95ff3ba3a804d16fb56b681832de123
|
|
| BLAKE2b-256 |
5977543b5e1557960c93b740d14e8a5aa1a2c222018094fbc657dd3ebf126a51
|
File details
Details for the file manga_cad-0.1.0-py3-none-any.whl.
File metadata
- Download URL: manga_cad-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0rc1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d2340a5528c3d6b1d48cec3a426dcfc3b0decbd89826963249582183b7121cb4
|
|
| MD5 |
5cb3694919d8bf03443e1381cbf06231
|
|
| BLAKE2b-256 |
d80be3afdb927d5b995091033a142b4b9d89ac4e8f68a654e4bc687157699fed
|