Commit Graph

675 Commits

Author SHA1 Message Date
Omar Roth
d664d6b371 Only use HSTS if SSL is enabled 2018-03-11 10:29:40 -05:00
Omar Roth
31d1315c60 Fix HSTS header 2018-03-11 10:24:12 -05:00
Omar Roth
6d7ae6f638 Only add HTTP query if it exists 2018-03-09 14:13:26 -06:00
Omar Roth
cf07b66c12 Use 301 for HTTP redirect 2018-03-09 14:11:30 -06:00
Omar Roth
298af854fc Fix alt_link for youtu.be 2018-03-09 14:06:35 -06:00
Omar Roth
c6accd2706 Add redirect to config.yml 2018-03-09 14:06:13 -06:00
Omar Roth
b24f82fe0d Access assets over https 2018-03-09 13:39:13 -06:00
Omar Roth
84fc87229c Add full path redirect 2018-03-09 13:35:31 -06:00
Omar Roth
2596410b97 Add HTTP redirect 2018-03-09 13:22:04 -06:00
Omar Roth
eb1d1e30d1 Add config file 2018-03-09 12:42:23 -06:00
Omar Roth
e22d6d8549 Add max-age for static assets 2018-03-09 11:28:57 -06:00
Omar Roth
cb22d7423c Add date shared 2018-03-09 11:12:28 -06:00
Omar Roth
731b837774 Add fix for controversial videos 2018-03-09 10:55:14 -06:00
Omar Roth
a7d223a0cf Update README 2018-03-09 10:48:01 -06:00
Omar Roth
d9c89f7e3f Limit number of reddit comments 2018-03-09 10:47:50 -06:00
Omar Roth
caf82ccb8f Add error message for reddit comments 2018-03-09 10:47:25 -06:00
Omar Roth
9886953fb6 Add link for shortened youtube url 2018-03-07 22:15:35 -06:00
Omar Roth
fd1bd35b42 Remove macro 2018-03-07 22:15:21 -06:00
Omar Roth
4ae88cd286 Add mapping macro and move templated into helpers.cr 2018-03-07 17:58:33 -06:00
Omar Roth
b388181cd4 Use different source for fallback thumbnail 2018-03-07 16:48:43 -06:00
Omar Roth
24fc14ac7a Add player title and thumbnail 2018-03-07 16:48:26 -06:00
Omar Roth
212ba05047 Update signature function 2018-03-07 08:07:40 -06:00
Omar Roth
8a3056d0e3 Make link styling default for anchor tags 2018-03-06 22:03:45 -06:00
Omar Roth
ebe51c91d7 Add local alternatives for video links 2018-03-06 22:00:35 -06:00
Omar Roth
e9f214cdc0 Update signature function 2018-03-06 16:59:23 -06:00
Omar Roth
2dae26e348 Break lines more prettily 2018-03-06 16:59:08 -06:00
Omar Roth
b14b26f7c2 Make rank_videos less greedy 2018-03-06 00:34:26 +00:00
Omar Roth
fc7b84cc68 Add line-break so links don't overflow 2018-03-05 10:12:45 -06:00
Omar Roth
72826c4d96 Fix regression for youtube pool 2018-03-04 22:25:03 -06:00
Omar Roth
971b471d72 Fix param conflict 2018-03-04 11:39:56 -06:00
Omar Roth
df228c82de Fix param conflict 2018-03-04 11:37:12 -06:00
Omar Roth
be6ced202c Fix CLI options 2018-03-04 11:17:46 -06:00
Omar Roth
3cd66d2e7c Include break when there are no comments 2018-03-04 11:03:12 -06:00
Omar Roth
2144c388a5 Fix user-agent string 2018-03-04 11:00:35 -06:00
Omar Roth
814cdc9971 Major fixes, add options for YT, add User-Agent for Reddit 2018-03-04 10:59:03 -06:00
Omar Roth
53acf1f6d6 Use more advanced query for reddit search 2018-03-04 09:31:26 -06:00
Omar Roth
68de3de377 Merge branch 'master' of github.com:omarroth/invidious 2018-03-04 08:55:13 -06:00
Omar Roth
f0b33b2975 Clean up Video class 2018-03-04 08:54:19 -06:00
Omar Roth
051aff07ed Remove non-functioning 'begin' 2018-03-04 08:11:44 -06:00
Omar Roth
aa0864f87d Don't redirect youtube links 2018-03-04 07:48:59 -06:00
Omar Roth
c42c0b65b0 Only replace "/watch" links in Reddit description 2018-03-04 07:47:07 -06:00
Omar Roth
66f639a1d1 Remove TODO 2018-03-03 23:07:18 -06:00
Omar Roth
38d7dfd7e3 Allow for collapsing and expanding of Reddit comments 2018-03-03 22:36:18 -06:00
Omar Roth
62dbd361de Add support for reddit redirect 2018-03-03 19:10:25 -06:00
Omar Roth
1bf492ce78 Clarify wait option 2018-03-03 18:23:39 -06:00
Omar Roth
cf9931e2a1 Add support for redirect in URL description 2018-03-03 18:18:03 -06:00
Omar Roth
fc2e10a54f Fix client reuse 2018-03-03 17:45:54 -06:00
Omar Roth
baeb44be13 Remove "puts" 2018-03-03 16:03:15 -06:00
Omar Roth
d573461a67 Parse HTML properly instead of relying on regexes 2018-03-03 15:59:21 -06:00
Omar Roth
b8fe82a7f7 Substitute youtube links in description for local links 2018-03-03 15:27:14 -06:00