Feedly rss
FeedlyRssReader #
Bases: BaseReader
Feedly Rss阅读器。
从Feedly Rss阅读器获取条目
使用Feedly官方的python-api-client: https://github.com/feedly/python-api-client
Source code in llama_index/readers/feedly_rss/base.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 |
|
setup_auth #
setup_auth(
directory: Path = Path.home() / ".config/feedly",
overwrite: bool = False,
)
修改自python-api-client/feedly/api_client/utils.py 不再提示用户输入,而是将令牌作为参数传递。
Source code in llama_index/readers/feedly_rss/base.py
22 23 24 25 26 27 28 29 30 31 32 33 34 |
|
load_data #
load_data(category_name, max_count=100)
从feedly类别中获取条目。
Source code in llama_index/readers/feedly_rss/base.py
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 |
|