Bayan 1.0
Weblog Class
>>> import bayan
>>> weblog = bayan.Weblog("https://ho55ein.blog.ir")
getInfo()
>>> weblog.getInfo()
{'TITLE': 'حسین نوشته ها ...', 'POSTS_COUNT': 114, 'COMMENTS_COUNT': 385}
>>>
getPages()
>>> weblog.getPages()
[{'TITLE': 'علاقه مندی ها', 'LINK': 'https://ho55ein.blog.ir/page/who-is-hossein'}, {'TITLE': 'تماس با me :)', 'LINK': 'https://ho55ein.blog.ir/page/message-to-hossein'}, {'TITLE': 'My Playlist', 'LINK': 'https://ho55ein.blog.ir/page/My-Playlist'}]
>>>
getLinks()
>>> weblog.getLinks()
[{'TITLE': 'Mr Python (Hacking With Python)', 'LINK': 'https://mrpython.blog.ir'}, {'TITLE': 'OG150 Hacking Tutorials', 'LINK': 'http://www.og150.com/tutorials.php'}]
>>>
getLastPosts()
getLastFollowers()
bayan.getChanges()
همچنین هر شیء از کلاس Weblog دارای یک متغییر یا ویژگی به نام follow_link است که لینک دنبال کردن وبلاگ مورد نظر را در خود نگه میدارد :
>>> print(weblog.follow_link)
http://blog.ir/panel/-/followed_blogs?follow=https://ho55ein.blog.ir
>>>
Metadata
Release files for bayan 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bayan-1.0.0.tar.gz | 5.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bayan-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.7 kB
Release files / bayan-1.0.0.tar.gz
| Download URL | bayan-1.0.0.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fa71511e7697c1a8932ef97cb0bad621c1c67a5b383db27e8c5b9fb49dfe9c6b
|
|
BLAKE2b-256 checksum How to use checksums |
d9ad498ace1c54bdfc5abd1f12358684ba05e07559bb60c4c6c744915b8cd100
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.4
|
Release files / bayan-1.0.0-py3-none-any.whl
| Download URL | bayan-1.0.0-py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f0bba2b5ed2264a9913c92ac4394ee185117866769a7f21c25d5ae97e12b847e
|
|
BLAKE2b-256 checksum How to use checksums |
1ab3fb63a6d85dd99e8cc613634872b56fd2b19681a023bfa0a24cae2146a3ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.4
|