735 Commits

Author SHA1 Message Date
James Taylor
d0e3adab01
Restart tor connection pool when the tor port setting is changed
Otherwise the old port continued to be used until the program
was restarted.

Signed-off-by: Jesús <heckyel@hyperbola.info>
2021-07-28 23:18:22 -05:00
James Taylor
5df5e99213
Call setting hooks after change, rather than before
More convenient for functions that already read the current value
from settings.[...]. See next commit

Signed-off-by: Jesús <heckyel@hyperbola.info>
2021-07-28 23:14:10 -05:00
4a5a64a975
Add .editorconfig file 2021-07-08 14:52:54 -05:00
250e34df7c
fix property css name 2021-07-05 16:15:29 -05:00
48f9d06ba3
fix missing plyr on embed 2021-07-05 15:50:41 -05:00
33d732f781
fix right click for video 2021-07-05 15:44:07 -05:00
James Taylor
aadc20fa19
Friendlier error message when Tor is closed or network is down
Signed-off-by: Jesús <heckyel@hyperbola.info>
2021-07-04 13:20:48 -05:00
7f67af1031
Remove var and fix transcript button jumping above autoplay on page load
Obsolete code from #15 that was forgotten to be removed

From ea34965be31dcf7e7e30c1edb9a9fa9d18fe6b30 Mon Sep 17 00:00:00 2001
From: James Taylor <user234683@users.noreply.github.com>
Date: Sat, 3 Jul 2021 20:06:11 -0700
2021-07-04 13:12:15 -05:00
49d823e135
Fix request search when is empty 2021-07-04 12:08:21 -05:00
de5510d3e3
Improved plyr configuration 2021-07-03 23:38:50 -05:00
James Taylor
20db70b9b9
get_video_info: Specify language so error messages are in english
Otherwise error message language will be region of Tor exit node

Signed-off-by: Jesús <heckyel@hyperbola.info>
2021-07-01 21:07:53 -05:00
James Taylor
acfa31ff59
Change search url path to match the YouTube path
Fixes #67

Signed-off-by: Jesús <heckyel@hyperbola.info>
2021-07-01 21:04:33 -05:00
4a9c1422e7
w3c syntax, unnecessary role=button 2021-06-29 19:11:10 -05:00
c6fe980a7a
autoplay-toggle: use label tag
from upstream:

<label> is semantic and makes clicking the text activate in checkbox
2021-06-29 19:07:40 -05:00
8d45ca855a
feat: autoplay related video - minor fix style 2021-06-23 21:08:04 -05:00
5906633641
fix settings.subtitles_mode in plyr 2021-06-23 15:48:19 -05:00
2c56a24711
fix name id of video 2021-06-23 15:35:01 -05:00
61b4518335
Fix set language subtitles 2021-06-23 15:19:31 -05:00
James Taylor
ec031a9b01
generate_release: Update visual c runtime URL
The original repository was deleted. Replace with a fork

Signed-off-by: Jesús <heckyel@hyperbola.info>
2021-06-23 14:46:54 -05:00
James Taylor
0df406697f
Workaround for age restriction bypass
Signed-off-by: Jesús <heckyel@hyperbola.info>
2021-06-23 14:45:52 -05:00
7f79269cf3
usage let not var 2021-06-23 14:43:10 -05:00
Umimaso
2d1794889a
feat: autoplay for related videos
Add autoplay support for related videos. Move the playlist autoplay code
into this shared script. Add the SameSite=Strict attribute to the
autoplay cookie due to Firefox soon rejecting cookies which use
SameSite=None without the secure attribute.

Closes: #50

Signed-off-by: Jesús <heckyel@hyperbola.info>
2021-06-23 14:34:55 -05:00
ff7aae05c4
Open direct link in new tab 2021-06-23 12:43:55 -05:00
Umimaso
5b4c99c702
feat: add direct link
Signed-off-by: Jesús <heckyel@hyperbola.info>
2021-06-23 12:42:17 -05:00
95ae35260c
Fix styles dropdown option button in desktop 2021-06-14 18:48:09 -05:00
fc8a23099d
Fix shared.css file style missing 2021-06-14 18:39:03 -05:00
999173b1ba
[error.html]: fix set style 2021-06-14 12:08:28 -05:00
31901905e3
Fix name app 2021-06-10 16:48:22 -05:00
7fd2c3474f
Capitalize name app 2021-06-10 16:41:45 -05:00
d35188178b
update URL issues 2021-06-10 16:33:25 -05:00
46f4ed1dc6
Fix design error message 2021-06-10 16:32:42 -05:00
James Taylor
a9edc54aac
Use extract_approx_int for comment likes
Full digits no longer available

Closes #64

Signed-off-by: Jesús <heckyel@hyperbola.info>
2021-06-10 12:47:09 -05:00
James Taylor
9077596979
Fix 404 errors on scheduled live events and age-gate bypass
get_video_info now returns 404 error. Adding html5=1 fixes it
(for now). See
https://github.com/ytdl-org/youtube-dl/issues/29086#issuecomment-844892791

Also handles 404 error if it arises so it will be non-fatal

Signed-off-by: Jesús <heckyel@hyperbola.info>
2021-06-01 11:55:05 -05:00
1b860c6917
Not force plyr as player 2021-05-24 21:17:59 -05:00
ff8531cb84
[licenses]: fix URL license Expat 2021-05-22 17:55:24 -05:00
b3abec81e1
Add plyr as main player
Also plyr supports switch quality
2021-05-22 17:05:39 -05:00
James Taylor
e44647f106
Fix comment like extraction due to Youtube changes
Variable name changed from likeCount to voteCount

Signed-off-by: Jesús <heckyel@hyperbola.info>
2021-05-17 22:08:09 -05:00
James Taylor
b01a16d45b
Fix vids added to playlist from watch page not having author url
Signed-off-by: Jesús <heckyel@hyperbola.info>
2021-05-17 22:07:10 -05:00
James Taylor
f0cd170767
Fix videos added to playlist from channel page not having author
Information from additional_info was being overrided with None.

Signed-off-by: Jesús <heckyel@hyperbola.info>
2021-05-17 22:02:03 -05:00
37f7a4c1cf
[.drone.yml]: inprove syntax 2021-05-09 20:54:08 -05:00
462c0ef323
Add drone CI/CD support 2021-05-08 14:50:23 -05:00
b5a12e108d
[README.md]: update 2021-05-06 15:33:02 -05:00
James Taylor
0ee448c186
Channel about: Add http:// to links without it
So that the link is not interpretted as a relative link

Signed-off-by: Jesús <heckyel@hyperbola.info>
2021-05-06 15:21:36 -05:00
7feea3f839
Add subscriptions export
plus design by heckyel
2021-05-06 15:18:19 -05:00
James Taylor
f9d1bfe05f
Add instructions for importing subscriptions to README
Closes #63

Signed-off-by: Jesús <heckyel@hyperbola.info>
2021-05-06 14:35:27 -05:00
James Taylor
53b274e35f
Save uploader id in local playlists
Signed-off-by: Jesús <heckyel@hyperbola.info>
2021-05-06 14:31:19 -05:00
James Taylor
0ee1aabc74
Add local playlist export option
Temporary workaround for #61

Signed-off-by: Jesús <heckyel@hyperbola.info>
2021-05-06 14:24:00 -05:00
ccb3392e1d
Fix gevent dependencie version 2021-04-13 22:50:15 -05:00
James Taylor
d88a69d811
Add tooltip to video speed box to improve discoverability
See #60

Signed-off-by: Jesús <heckyel@hyperbola.info>
2021-04-13 21:08:08 -05:00
James Taylor
585d724564
Add hidden setting to allow foreign post requests
See #55

Signed-off-by: Jesús <heckyel@hyperbola.info>
2021-03-15 22:25:08 -05:00