Last change
on this file since 12 was 12, checked in by cheese, 6 years ago |
#1 change feedparser.parse to requests for timeout
|
File size:
287 bytes
|
Line | |
---|
1 | #-*- coding: utf-8 -*-
|
---|
2 | from feed2telegram import Feed2Telegram
|
---|
3 |
|
---|
4 | url = 'http://hikarinoakariost.info/feed'
|
---|
5 | token = '' # @hikarinoakariost_feeder_bot
|
---|
6 | chat_id = ''
|
---|
7 |
|
---|
8 | Feed2Telegram(url,
|
---|
9 | token,
|
---|
10 | chat_id,
|
---|
11 | lambda entry: entry['link'],
|
---|
12 | continue_on_error=True,
|
---|
13 | ).start()
|
---|
14 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.