Son dakika haberleri çekebilmenize yarar.
Project description
haberpy
Son dakika haberleri çekebilmenize yarar.
Installation
Use the package manager pip to install foobar.
pip install -U haberpy
Usage
from haberpy import Haberler
haber = Haberler()
# returns 'text'
text = haber.text(limit=1)
"En güncel haber metinlerini çeker."
# returns 'img'
img = haber.img(limit=1)
"En güncel haberlere dair görselleri çeker."
# returns 'ornekler'
text, img = haber.text_and_img(limit=1)
"Güncel haberlerin metin ve görselini tek istekte verir."
######### Sport #####################
from haber.sport import Sport
spor = Sport()
# returns 'title'
spor.title(limit=1)
"Güncel spor haberine ait başlığı çeker."
# returns 'about'
spor.about(limit=1)
"Güncel spor haberine ait içeriği çeker."
# returns 'img'
spor.img(limit=1)
"Güncel spor haberine ait görseli çeker."
License
Contact
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
haberpy-0.0.1.tar.gz
(14.9 kB
view details)
File details
Details for the file haberpy-0.0.1.tar.gz
.
File metadata
- Download URL: haberpy-0.0.1.tar.gz
- Upload date:
- Size: 14.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 280251734dbcd65f70542d044c778f16f81db38a7ddc81c2ab94360de175a802 |
|
MD5 | 431e00deafd9d2e8abad760eee0ef89b |
|
BLAKE2b-256 | b36afaf5cf630305818ec43ed9eb219abe05291f97b605bcc179f21aab38c823 |