HDRezka (rezka.ag) Python API
Project description
HDRezka site API.
Install
pip install HDRezka
Example
from hdrezka import *
player = Search('Avatar')[1, 0].player
print(player.post.info)
print(player.get_stream().best_url)
Documentation
GitHub
CHANGELOG
1.1.3
- bugfixes
1.1.2
-
added pdoc documentation
-
now Python 3.10 has become the minimum compatible version.
-
removed all
from __future__ import annotations
statements -
used
match...case
statements -
optimization
-
new submodule
api.http
-
get_response
moved toapi.http
submodule
1.1.1
- fixed bug with importing
stream.Post
- fixed
post.urls.url_short
function
1.1.0
-
post.urls.short_url
now even shorter -
errors
EmptySearchPage
replaced withEmptyPage
-
New submodule
post.page
-
post.page
- new
Page
class that will parse any page rezka.ag onInlineItem
(new data class)
- new
-
api.search
Search
now inherited fromPage
1.0.0
Backward incompatible changes have been made
-
bs4 now selects lxml (if it available) once at startup
-
new submodule
post
,post.info
,post.info.fields
-
class
post.Post
created -
class
post.info.PostInfo
created -
stream
- hint typing fixes
Player
now caching
-
urls
submodule now ispost.urls
-
post.urls
short_url
andlong_url
functions added (caching)short_url
,long_url
,Quality
,URL
now in__all__
-
post.info.fields
- classes
Rating
,Place
,Release
,AgeRating
,Duration
,Poster
created
- classes
0.0.2
- initial version
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
HDRezka-1.1.3.tar.gz
(11.5 kB
view hashes)
Built Distribution
HDRezka-1.1.3-py3-none-any.whl
(14.9 kB
view hashes)