Commit Graph

93 Commits

Author SHA1 Message Date
Omar Roth
e8013c6d5c Use try instead of ternary 2018-03-14 18:06:21 -05:00
Omar Roth
c8a798e13c Add fix for streams 2018-03-14 18:05:19 -05:00
Omar Roth
f33cbb8b92 Add sources for iOS 2018-03-13 18:41:09 -05:00
Omar Roth
e37e9a0b8e Add qualityselector 2018-03-13 18:37:56 -05:00
Omar Roth
1a6c28735c Fix DASH manifest to be more similar to YT's 2018-03-12 22:16:38 -05:00
Omar Roth
8fb97a4511 Add suppor for dash manifest 2018-03-12 20:36:49 -05:00
Omar Roth
6795c183af Remove logging for Reddit comments 2018-03-11 10:36:15 -05:00
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
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
caf82ccb8f Add error message for reddit comments 2018-03-09 10:47:25 -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
ebe51c91d7 Add local alternatives for video links 2018-03-06 22:00:35 -06:00
Omar Roth
b14b26f7c2 Make rank_videos less greedy 2018-03-06 00:34:26 +00: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
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
f0b33b2975 Clean up Video class 2018-03-04 08:54:19 -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
323d27a5f6 Add wait time option and add handling for reddit_pool 2018-03-03 15:26:47 -06:00
Omar Roth
24cea8f3e7 Add reddit comments 2018-03-03 15:06:14 -06:00
Omar Roth
dff93f67f9 Add author for item 2018-02-26 20:59:18 -06:00
Omar Roth
3a95d21808 Minor fixes 2018-02-26 18:59:02 -06:00
Omar Roth
7828cd9767 Remove html from DB 2018-02-26 18:58:45 -06:00
Omar Roth
13ef4440d0 Replace signature function with generic catchall 2018-02-22 13:01:37 -06:00
Omar Roth
225625a0fb Add redirect for missing params 2018-02-15 12:05:39 -06:00
Omar Roth
8956623347 Add fix to top_videos for empty database 2018-02-15 11:55:44 -06:00
Omar Roth
5b47be2b4d Run 'crystal tool format' 2018-02-13 10:43:15 -06:00
Omar Roth
4d1fa61bf0 Only add signature if stream has decrypted signature 2018-02-12 19:54:11 -06:00
Omar Roth
1d301a5055 Add support for different signature functions 2018-02-11 22:06:29 -06:00
Omar Roth
42df0df5a0 Clean up argument creation 2018-02-11 22:05:22 -06:00
Omar Roth
6adbcd050c Clarify listen param and update icon 2018-02-11 17:01:32 -06:00
Omar Roth
da97dfad8e Fix arg parsing 2018-02-11 16:48:27 -06:00
Omar Roth
dc45fbfad6 Use error template for 404 and 500 2018-02-10 09:15:23 -06:00
Omar Roth
ecb1999795 Ensure clients are recycled properly 2018-02-08 20:19:44 -06:00
Omar Roth
5159ec0f6e Pull rank_videos into seperate thread 2018-02-07 22:04:47 -06:00
Omar Roth
d4c88f2844 Fix watch for videos that don't have fmt_stream 2018-02-06 17:30:53 -06:00