Skip to main content

获取`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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lzhfreshrssapi-0.2.1-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

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

Hashes for lzhfreshrssapi-0.2.1.tar.gz
Algorithm Hash digest
SHA256 cee5ac86974962963cae9ecfecf00bad8778f4c62b40050a19a583e4498694ec
MD5 a87e867ac29b28bae71a51d8337844a5
BLAKE2b-256 e8d53382df9e5dd7533cf8f822400c74d2d3adde5216fc1582e9d9be92a87e70

See more details on using hashes here.

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

Hashes for lzhfreshrssapi-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 874c61aecadfcb6328112c220d533c29f189da3820613bfd8c1b1e8e370d6efb
MD5 27f54aee07327ac4cc02bf4e29c8dd5b
BLAKE2b-256 c73644092d1ce3f7e438719ca9e995e34472a8949aa7533b07268d0e3d265747

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page