Skip to main content

NaiToon(네이툰)

image

네이버 웹툰 크롤링 라이브러리

동기 비동기 모두 지원합니다!
현재 지원기능 : 작품리스트(요일별), ID검색 기능

Installation

$ pip install naitoon

Example

리스트 불러오기(비동기)

from naitoon import naver
import asyncio

naver = naver.Webtoon()
async def main():
  data = await naver.get_list() #요일웹툰 리스트를 가져옵니다. 파라미터가 비어있을시 오늘차 요일 리스트를 반환합니다.
  print(data)

asyncio.run(main())

리스트 불러오기(동기)

from naitoon import sync

naver = sync.Webtoon()
data = naver.get_list() #요일웹툰 리스트를 가져옵니다. 파라미터가 비어있을시 오늘차 요일 리스트를 반환합니다.
print(data)

Request sample

[
  {
    'title': '화산귀환', 
    'author': 'LICO / 비가', 
    'star': '9.91', 
    'thumbnail': 'https://shared-comic.pstatic.net/thumb/webtoon/769209/thumbnail/thumbnail_IMAG10_13ff2e28-686a-42de-890e-9289550978bc.jpg', 
    'id': '769209', 
    'link': 'https://comic.naver.com/webtoon/list?titleId=769209&weekday=wed'
  }
]

ID로 작품 불러오기(비동기)

from naitoon import naver
import asyncio

naver = naver.Webtoon()
async def main():
  data = await naver.get_info(758037) #작품의 정보를 가져옵니다. 작품을 찾지 못할 경우 TitleIdException 예외를 반환합니다.
  print(data)

asyncio.run(main())

ID로 작품 불러오기(비동기)

from naitoon import sync

naver = sync.Webtoon()
data = naver.get_info(758037) #요일웹툰 리스트를 가져옵니다. 파라미터가 비어있을시 오늘차 요일 리스트를 반환합니다.
print(data)

Request sample

{
  'title': '참교육', 
  'author': '채용택 / 한가람', 
  'genre': '스토리, 액션', 
  'age': '15세 이용가', 
  'description': '무너진 교권을 지키기 위해 교권보호국 소속 나화진의 참교육이 시작된다!<부활남> 채용택 작가 X <신석기녀> 한가람 작가의 신작!', 
  'thumbnail': 'https://shared-comic.pstatic.net/thumb/webtoon/758037/thumbnail/thumbnail_IMAG06_794bcc1e-23aa-4c35-a335-b5d21b4bc2ab.jpg'
}

Metadata

Release files for naitoon 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for naitoon 1.0.0
File Size Uploaded Provenance Actions
naitoon-1.0.0.tar.gz 4.0 kB Without provenance Details for naitoon-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for naitoon 1.0.0
File Interpreter ABI Platform Actions
naitoon-1.0.0-py3-none-any.whl Python 3 none any Details for naitoon-1.0.0-py3-none-any.whl

Total release size: 9.4 kB

Release files / naitoon-1.0.0.tar.gz

Download URL naitoon-1.0.0.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
7424f73680954a4b874b71f0a41f0f84e4a1f588f4bbdafc4e3c1e6ea3f280a4
BLAKE2b-256 checksum
How to use checksums
cc0972f231c3f094a67f49001b225b7a969b229667b2bce61881926569727a3b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.12

Release files / naitoon-1.0.0-py3-none-any.whl

Download URL naitoon-1.0.0-py3-none-any.whl
Size 5.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c2ca434a07ff91c366e5817fdbd0fa8b29b046515f69756bad626c32855d9d80
BLAKE2b-256 checksum
How to use checksums
4d2bf372b742fa2a2c6063fc115afecad82ba0ac4801630ba15d7a6cb36ba5c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.12

Security for naitoon 1.0.0

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.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page