获取`FreshRSS`数据库中对应`url`的订阅源中已有的`guid`的集合
Project description
freshrss api
获取FreshRSS数据库中对应url的订阅源中已有的guid的集合
示例
if __name__ == "__main__":
import asyncio
async def main():
try:
links = await api_get_links_by_site_url(
freshrss_url='http://rss.example.com/api/greader.php',
username='username',
api_password='api_password',
site_url="https://jandan.net/top#tab=3days",
n = 100
)
print(links)
except Exception as e:
print(e)
db_config = {
'host': 'host',
'port': '5432',
'user': 'user',
'password': 'password',
'base': 'base',
'prefix': 'freshrss_userxxx_',
}
try:
guids = await pg_get_guids_by_site_url(
site_url="https://jandan.net/top#tab=3days",
db_config = db_config
)
print(guids)
except Exception as e:
print(e)
asyncio.run(main())
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
lzhfreshrssapi-0.2.1.tar.gz
(2.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lzhfreshrssapi-0.2.1.tar.gz.
File metadata
- Download URL: lzhfreshrssapi-0.2.1.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cee5ac86974962963cae9ecfecf00bad8778f4c62b40050a19a583e4498694ec
|
|
| MD5 |
a87e867ac29b28bae71a51d8337844a5
|
|
| BLAKE2b-256 |
e8d53382df9e5dd7533cf8f822400c74d2d3adde5216fc1582e9d9be92a87e70
|
File details
Details for the file lzhfreshrssapi-0.2.1-py3-none-any.whl.
File metadata
- Download URL: lzhfreshrssapi-0.2.1-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
874c61aecadfcb6328112c220d533c29f189da3820613bfd8c1b1e8e370d6efb
|
|
| MD5 |
27f54aee07327ac4cc02bf4e29c8dd5b
|
|
| BLAKE2b-256 |
c73644092d1ce3f7e438719ca9e995e34472a8949aa7533b07268d0e3d265747
|