4de461dbf1
Ignore youtube shorts on a per-channel basis.
2023-08-09 23:24:47 -07:00
4d7b396e0c
Add column last_refresh to channels.
2022-11-11 15:56:33 -08:00
df1b414aa2
Remove old use of self.sql_execute.
2022-11-02 18:44:01 -07:00
ca353e9977
Update to new worms version.
2022-07-20 18:04:35 -07:00
c22f20fcf8
Use worms, add more ycli functions.
2021-10-15 21:00:04 -07:00
6068d644b9
Add autorefresh to Channel to include/exclude in refresh_all loop.
2021-09-05 01:26:34 -07:00
491992b606
Some linting.
2021-08-20 22:59:17 -07:00
74d4a55d32
Rename import bot -> youtube_credentials.
...
In the days of making reddit bots I always put creds into bot.py.
But for this project it wouldn't make any sense to newcomers.
2021-04-25 18:02:26 -07:00
fa363a33c7
Improve handling of livestreams, premieres with live_broadcast attr.
2021-03-31 17:24:57 -07:00
885bc2b711
Copy database_upgrader Migrator from Etiquette.
2021-03-31 15:59:23 -07:00
b2115f88be
Add better indexes and delete redundant ones.
2020-10-02 11:22:47 -07:00
4f6080859a
Synchronize Etiquette and YCDL.
2020-09-22 02:59:17 -07:00
e5910c55f2
Rename database column download
to state
.
2020-09-04 15:55:48 -07:00
59eab3f997
Rename directory -> download_directory; add queuefile_extension.
2020-08-10 05:46:18 -07:00
d137f9a889
Don't use executescript, add explicit begins.
...
Today I discovered that the sqlite3 library executescript function
automatically, non-optionally performs a commit before running
the input script. I want to control transactions manually so the
database doesn't get left in a broken state.
2020-08-08 18:56:11 -07:00
41c6a344fa
Catch ChannelNotFound exception while updating db.
2020-07-20 19:04:27 -07:00
4fe4ed9cb5
Database version 5. Store uploads_playlist id in database.
...
I am trying to cut down the API cost of refreshing all channels.
I hoped to find and endpoint that would give me videos from
multiple playlists at once, but Youtube doesn't seem to support
that. Next best option is to at least store the ID of the uploads
playlist, saving 2 api points each.
2020-07-01 16:09:11 -07:00
f2e8aeb568
Improve these docstrings.
2020-07-01 15:47:27 -07:00
d0f041c694
Let database upgrader functions take actual ycdldb, not plain sql.
...
Like Etiquette. This gives us access to the ycdl methods rather
than being limited to just sql operations.
2020-07-01 15:47:15 -07:00
6919f39e81
Rearrange upgraders in ascending order.
2020-07-01 15:25:29 -07:00
81b864ec19
main should return args.func(args) value.
2020-02-08 17:20:27 -08:00
78ce6a6f41
Add views column and some other database changes.
...
And various other changes which have been sitting here for too long.
2020-01-06 22:07:25 -08:00
f1f12423b1
Changes
...
- Add thumbnails to the card (dynamically loaded)
- Add button for embedding the video
- Store video duration in db (use update script)
- Separate links for filter views with and without query.
2018-12-17 19:17:53 -08:00