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',
            '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)
            pass

    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.0.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.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file lzhfreshrssapi-0.2.0.tar.gz.

File metadata

  • Download URL: lzhfreshrssapi-0.2.0.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.0.tar.gz
Algorithm Hash digest
SHA256 10b395bd580bca153dacd7d351f07185e27dc1f78a51c6e2b1c60ac91a348483
MD5 90dd04e83e81c96474dd98cbe8d3209f
BLAKE2b-256 808375063147f542952fe9143674b47e730998f73adfd54f3cdb2c5bd8d74b42

See more details on using hashes here.

File details

Details for the file lzhfreshrssapi-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: lzhfreshrssapi-0.2.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1ed9cf4a595252034056e0aca1e39dce69d06bdd72c8684d9b0fdd24d2a5283a
MD5 c5de0f54badd75afdc91520735654068
BLAKE2b-256 3bb0e7c7e673c33eeb0b12e50b06e19d7f04b3f43195dc8d103c1ffedd7041a5

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