1
0
mirror of https://git.sr.ht/~cadence/cloudtube synced 2024-11-10 02:27:29 +00:00
Commit Graph

16 Commits

Author SHA1 Message Date
Cadence Ember
6d560b8507
Null check view count 2021-09-13 18:30:10 +12:00
Cadence Ember
55065e2a9e
11x speed up of subscription page generation
My 30 subscriptions now take 25 ms to generate, instead of around 280.

Around 120 ms were saved by creating a database index.
Around 120 ms were saved by pre-compiling the pug template for video
description timestamps.
The other changes in this commit produced slight improvements.
2021-08-26 23:47:53 +12:00
21629de594
Properly rewrite URL params for youtu.be links
Change occurs in converters.rewriteVideoDescription().
Previously the URL could end up with `?` in it twice, this ensures there
will be at most one.
2021-07-02 00:48:19 +12:00
Cadence Ember
db7ccabb3b
Implement video filters 2021-05-12 00:29:44 +12:00
Cadence Ember
ec9b0edadc
Make VSCode type detection happier 2021-05-11 21:58:41 +12:00
Cadence Ember
48534d4e29
Rewrite URLs in subscription feed 2021-04-14 23:02:05 +12:00
Cadence Ember
3dbea65c62
Rename Second to NewLeaf 2021-02-27 13:11:27 +13:00
Cadence Ember
ec08f1e9a4
Remove mistaken console.log 2021-02-25 00:49:11 +13:00
bopol
6186be0a13
fallback to number if text format is not available for counts
e.g. subscriber count, view count
2021-02-12 01:47:52 +13:00
Cadence Ember
c83bdcb924
Tip: Don't code at 1 AM
- Remove console.log
- Default value for render video locals
2021-01-14 01:49:26 +13:00
Cadence Ember
bb4816c4b3
Support t parameter using media fragments 2021-01-14 00:58:29 +13:00
Cadence Ember
36f33b9f7e
General code cleanup from analysis 2021-01-14 00:55:03 +13:00
Cadence Ember
98ee77def4
Set user-agent for invidious.snopyta ID 2021-01-12 23:49:00 +13:00
Cadence Ember
c419aa90da
Normalise info for both channels and search 2021-01-12 14:54:36 +13:00
Cadence Ember
5c3a4df209
Rebuild second__lengthText if needed 2020-10-06 23:43:44 +13:00
Cadence Ember
2e69dfc4b7
Move utils folder and fix published text 2020-09-24 00:05:02 +12:00