Python library for Nyaa
Project description
nyaalib
A simple Python library for parsing Nyaa pages.
Usage
>>> from nyaalib import NyaaClient
>>> client = NyaaClient()
>>> search_result_page = client.search("love live")
>>> search_result_page.torrent_stubs[0]
<TorrentStub tid='661029' name=u'Love Live Music Collection Ver.1.0'>
>>> torrent_page = client.view_torrent('486766')
>>> torrent_page.name
u'[FFF] Love Live! [BD][720p-AAC]'
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
nyaalib-0.0.6.tar.gz
(5.7 kB
view hashes)