Catalog PyPI
PACKAGE EXPLORERView in registry

24ur-api

PyPI

Unofficial 24ur API

24urapiscraper
Versions collected1
Direct dependencies4From release 0.2.6
Last observed20 Oct, 15:22 UTC

README

Version 0.2.6 documentation

Unofficial 24ur API Client

License: MIT PyPI - Version Downloads

Installation

pip install 24ur-api
  • With video download support
pip install 24ur-api[video]

Building

Nix

nix build .#default

Development

nix develop

Usage

from api_24ur import client

cl = client.Client()

# Get article by URL with 10 comments
article = await cl.get_article_by_url(url='<article_url>', num_comments=10)

# Download the first video of article with bitrate lower than 2000000b to current dir
await cl.download_video(stream_url=article.videos[0].url, download_path='.', max_bitrate=2000000)
# Or get bytes
await cl.download_video_bytes(stream_url=article.videos[0].url, max_bitrate=2000000)

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.2.631 Oct 20254

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
amadejkastelic/24ur-api

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 15:22 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:d454f1583c253b4075db39a9a63aa04714b24021daeeb7bd14e5ec3d56cbff36