Commit graph

257 commits

Author SHA1 Message Date
1e59d7be06
Add get_things_by_sql. 2021-03-31 14:39:10 -07:00
9f5726e5d3
Log fetched snippets at level loud. 2021-03-31 14:35:51 -07:00
7aef451b07
Add a few more docstrings about ytrss. 2021-03-31 14:35:31 -07:00
341c40ad1c
Pull out separate method Channel.refresh_uploads_playlist. 2021-03-31 14:34:39 -07:00
9a47ff00ee
Remove redundant call to mark_state during automark download. 2021-03-29 23:10:41 -07:00
18f617a45b
Clean up input type of ycdldb.download_video. 2021-03-29 23:09:04 -07:00
03ee7e387f
Add more to explanation of queuefiles. 2021-03-24 20:32:22 -07:00
cfad775a0a
Move published_string to a property of the Video object. 2021-03-24 20:29:15 -07:00
b134a8783b
Remove unnecessary query_string argument. 2021-03-24 20:09:23 -07:00
68919fae24
Fix UI showing outdated cached info when items get refreshed. 2021-03-24 20:04:34 -07:00
9c5fb4fec1
Move jsonify methods to the objects instead of separate file. 2021-02-25 19:46:00 -08:00
65fdae97da
Store request.is_localhost like Etiquette. 2021-02-25 19:45:11 -08:00
6db7fe9a24
Punctuate pid line. 2021-01-30 04:34:46 -08:00
fdf0823387
Clarify about sending IDs to youtube-dl. 2021-01-30 04:31:54 -08:00
69ae0280f4
Wrap Channel RSS link in div so a-tag doesn't stretch all the way. 2021-01-30 04:31:54 -08:00
acf29b9e9f
Show pid when server starts. 2021-01-30 04:31:48 -08:00
5bedabdc66
Move site.debug to _dev, _prod launchers. 2021-01-28 16:46:54 -08:00
481a16b950 Update license, contact, donate for many projects. 2021-01-14 02:46:53 -08:00
d3555dfbf3 Sync with Etiquette. 2021-01-11 15:36:16 -08:00
4bf27d4458 Sync with Etiquette. 2021-01-02 16:54:20 -08:00
5252617111 Add Mirrors header. 2020-12-23 19:57:03 -08:00
d381e39a10 Add codeberg to mirror list. 2020-12-15 23:04:49 -08:00
56dfb6db19 Add the state filter's name into the "X items" line. 2020-11-26 18:24:15 -08:00
083e9dd2ee Add (p) link to pending videos from generic listing page. 2020-11-21 11:25:46 -08:00
bc8de9fc52 Add a couple more log statements. 2020-11-20 16:37:49 -08:00
2bfc1a00d4 Add log.warning when a channel fails to refresh. 2020-11-20 16:24:03 -08:00
8de342b054 Set log level by argv. 2020-11-20 16:23:36 -08:00
a81af363ff Pass rss_assisted=False during traditional fallback. 2020-11-20 16:15:11 -08:00
4d80237456 Rename variables uid->channel_id, most_recent_video->video_id. 2020-11-20 16:13:14 -08:00
5a868dc7bd Use voussoirkit.gentools for chunk_generator. 2020-11-15 22:07:41 -08:00
3f32ab1664 Incorporate __name__ into ycdldb's logger. 2020-11-15 22:02:21 -08:00
b659a6da5f Wrap this long line. 2020-11-15 21:11:25 -08:00
ced16d9063 Don't traceback.print_exc. 2020-11-15 21:10:01 -08:00
bac6efe108 Use voussoirkit.stringtools for pascal_to_loudsnakes. 2020-11-15 21:08:58 -08:00
ca8a2a2d55 Add channel's RSS link to the settings tab. 2020-11-15 17:57:23 -08:00
e4b769336b Set ytrss log level during flask launch. 2020-11-15 17:57:07 -08:00
8ac31562b7 Add github/gitlab link at bottom of readme. 2020-11-15 17:56:40 -08:00
81bd7b9ca2 Move playlist paginator out to get a clean looking generator. 2020-11-10 17:54:21 -08:00
294ccb77d9 More logging updates. 2020-11-10 17:53:52 -08:00
648d2af560 Add rss_assisted parameter to Channel.refresh too. 2020-11-10 17:15:19 -08:00
11414b4088 Add log_level param to constructor, like Etq. 2020-11-09 20:22:54 -08:00
13e6f7e1f0 Use vlogging and a distinct logger name instead of __name__. 2020-11-09 20:20:45 -08:00
8cdf18b987 Wrap long line. 2020-11-09 20:20:45 -08:00
927b5a559e Add parameter rss_assisted in case you want to turn it off. 2020-11-09 16:48:17 -08:00
b7ce46bef2 Make these keyword arguments kw-only. 2020-11-09 16:32:44 -08:00
aabb6691f0 Use voussoirkit.vlogging for loud. 2020-11-09 16:30:54 -08:00
a3f69573a4 Use requests.Session to greatly speed up RSS requests. 2020-11-09 16:30:25 -08:00
1263123a03 Dedent by performing loop outside of this function. 2020-11-09 16:29:59 -08:00
c2d10da6b6 Add log line when RSS assist fails, fallback to traditional. 2020-11-09 16:23:18 -08:00
c075133bdb Fix pascal_to_loudsnakes to handle repeated caps as single term.
Previous code made "R_S_S_ASSIST_FAILED", now "RSS_ASSIST_FAILED".
2020-11-09 16:19:37 -08:00