Rongrong
ede274ccf0
release 1.6.0
...
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-10-08 10:20:09 +08:00
Rongrong
2d57f37c4d
Merge pull request #12 from Rongronggg9/dependabot/pip/dev/colorlog-6.5.0
...
build(deps): bump colorlog from 6.4.1 to 6.5.0
2021-10-08 09:25:19 +08:00
dependabot[bot]
9809704065
build(deps): bump colorlog from 6.4.1 to 6.5.0
...
Bumps [colorlog](https://github.com/borntyping/python-colorlog ) from 6.4.1 to 6.5.0.
- [Release notes](https://github.com/borntyping/python-colorlog/releases )
- [Commits](https://github.com/borntyping/python-colorlog/compare/v6.4.1...v6.5.0 )
---
updated-dependencies:
- dependency-name: colorlog
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-10-08 01:14:05 +00:00
Rongrong
8a7ed913c4
Merge pull request #11 from Rongronggg9/dependabot/pip/dev/emoji-1.6.0
...
build(deps): bump emoji from 1.5.0 to 1.6.0
2021-10-06 13:24:36 +08:00
dependabot[bot]
67349daa4f
build(deps): bump emoji from 1.5.0 to 1.6.0
...
Bumps [emoji](https://github.com/carpedm20/emoji ) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/carpedm20/emoji/releases )
- [Changelog](https://github.com/carpedm20/emoji/blob/master/CHANGES.md )
- [Commits](https://github.com/carpedm20/emoji/compare/v1.5.0...v1.6.0 )
---
updated-dependencies:
- dependency-name: emoji
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-10-06 01:23:43 +00:00
Rongrong
55702b872f
mkdir if dir "config" does not exist
...
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-10-04 00:23:27 +08:00
Rongrong
53f11a4739
update docker-compose.yml.sample
...
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-10-04 00:12:21 +08:00
Rongrong
9f7bb5b4d0
warn user if they `/test` an invalid URL
...
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-10-03 23:46:35 +08:00
Rongrong
213331be30
refactor: asynchronize - done
...
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-09-29 10:47:08 +08:00
Rongrong
76a6c8c24c
update Dockerfile
...
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-09-29 10:47:07 +08:00
Rongrong
d0fdfbf139
refactor: asynchronize - phrase III
...
(deps) migrate from telegraph to aiograph
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-09-29 10:47:07 +08:00
Rongrong
37dfb5ad3d
refactor: asynchronize - phrase II-ii
...
(deps) migrate from python-telegram-bot to telethon - add more sample API, done
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-09-29 10:47:06 +08:00
Rongrong
eaa0d07fd0
refactor: asynchronize - phrase II-i
...
(deps) migrate from python-telegram-bot to telethon - finish error handling
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-09-29 10:46:39 +08:00
Rongrong
99d0558ad7
fix memory leak; adjust logging
...
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-09-29 10:46:39 +08:00
Rongrong
1cf72b80f6
update Dockerfile
...
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-09-29 10:46:39 +08:00
Rongrong
3d94f846b3
refactor: asynchronize - phrase II
...
(deps) migrate from python-telegram-bot to telethon - initial, missing some error handling
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-09-29 10:46:37 +08:00
Rongrong
6d651d1297
disable html sanitization
2021-09-26 17:05:53 +08:00
Rongrong
ffff994aba
support parsing `<video><source></video>`
...
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-09-26 15:02:11 +08:00
Rongrong
61126d3921
fix: export `None` if db is empty
...
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-09-23 01:45:34 +08:00
Rongrong
21edb2590c
refactor: asynchronous - phrase I
...
make feeds monitoring/adding/importing asynchronous
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-09-23 01:39:46 +08:00
Rongrong
e7ae89a619
optimize multi-threads feed monitoring and post sending
...
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-09-21 02:39:37 +08:00
Rongrong
d2eadba916
fix: cannot initial sqlite db if path "config" not exist
...
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-09-21 01:48:19 +08:00
Rongrong
fb5c6559e6
use proxy if SOCKS_PROXY or HTTP_PROXY set in env, even if T_PROXY or R_PROXY not set
...
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-09-21 01:47:05 +08:00
Rongrong
777193c327
no longer use BytesIO
...
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-09-20 22:02:39 +08:00
Rongrong
7f5e50cb7e
auto close requests sessions
...
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-09-20 22:00:00 +08:00
Rongrong
7e7a953daf
optimize multi-threads feed monitoring and post sending
...
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-09-20 21:05:58 +08:00
Rongrong
95d806d756
disable fetch all feeds at startup
...
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-09-20 19:05:24 +08:00
Rongrong
4fdafa6c3a
optimize rwlock
...
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-09-20 18:29:27 +08:00
Rongrong
ed77a29dfc
fix a bug related to db auto choosing
...
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-09-19 23:10:59 +08:00
Rongrong
fe9138e5cf
startup message (version) adjustment
...
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-09-19 22:58:24 +08:00
Rongrong
62437915a3
use guid instead to determine the status of feeds (if available)
...
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-09-19 22:40:06 +08:00
Rongrong
01255cd783
optimize directory structure
...
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-09-19 22:16:05 +08:00
Rongrong
a8601357d3
dependency: bump emoji from 1.4.2 to 1.5.0
...
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-09-19 16:38:12 +08:00
Rongrong
423082651d
enable relative link resolution
...
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-09-19 16:36:10 +08:00
Rongrong
f0bffe8dcc
refactor: flood control avoidance
...
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-09-19 13:53:41 +08:00
Rongrong
94947169ce
post parsing: `<iframe>` support
...
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-09-19 11:05:17 +08:00
Rongrong
e25e4514c7
emoticon img that replace by its `alt` now get emojified
...
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-09-19 09:52:30 +08:00
Rongrong
4a02c33e2d
can detect an emoticon which width/height is specified in em
...
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-09-19 09:50:55 +08:00
Rongrong
7db096e68a
update Dockerfile
...
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-09-19 09:38:21 +08:00
Rongrong
c029e550da
simplify telegraph title
...
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-09-19 09:33:23 +08:00
Rongrong
37ed379bff
Update Dockerfile
2021-09-18 18:46:07 +08:00
Rongrong
30bf11e3b9
filter apscheduler.executors.default log
...
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-09-18 16:33:21 +08:00
Rongrong
94e68887fd
divide monitor tasks evenly to every minute
...
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-09-18 15:32:18 +08:00
Rongrong
bc85f3acf6
limit `telegraph_ify` concurrency and increase `generate_message` concurrency
...
Note: you may need to set more (>=5) Telegraph tokens to get rid of performance loss if you subscribed a lot of subscriptions with very long posts
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-09-18 14:58:15 +08:00
Rongrong
eee399b9b2
feeds will be monitored by multiple threads
...
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-09-18 14:27:49 +08:00
Rongrong
5e565deba9
support: use `,`/`,`/`;`/`;`/linebreak/space as the separator of multiple TELEGRAPH_TOKEN
...
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-09-18 06:56:01 +08:00
Rongrong
1ad41092aa
create a new account if required to wait too long due to Telegraph flood control
...
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-09-18 06:28:16 +08:00
Rongrong
a60a292af3
use rwlock and lock to avoid exceeding flood control of Telegraph
...
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-09-18 05:59:06 +08:00
Rongrong
36dd39ac0c
change the separator of multiple TELEGRAPH_TOKEN from `;` to `,`
...
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-09-18 03:55:50 +08:00
Rongrong
151a610037
posts of each feed will be sent by multiple threads
...
try it: `/test https://www.ithome.com/rss/ all`
Signed-off-by: Rongrong <15956627+Rongronggg9@users.noreply.github.com>
2021-09-18 03:51:45 +08:00