Commit graph

124 commits

Author SHA1 Message Date
Omar Roth 0e30ddb728 Clean up fetch_channel 2018-03-31 09:51:44 -05:00
Omar Roth 6c4cfbe39d Add users table 2018-03-29 21:41:05 -05:00
Omar Roth 4a7fc4ea69 Fix refresh time 2018-03-29 19:21:44 -05:00
Omar Roth 60360ee2ae Don't change id for video conflict 2018-03-29 19:03:00 -05:00
Omar Roth 385d6301a3 Only update time for get_channel 2018-03-29 18:50:24 -05:00
Omar Roth 10f2048d95 Add conflict resolution for channel updates 2018-03-28 23:05:20 -05:00
Omar Roth 239a6c892c Use seperate table for videos pulled from RSS 2018-03-28 22:29:54 -05:00
Omar Roth 3a1a2403f5 Update signature function 2018-03-28 18:37:00 -05:00
Omar Roth 8d97ecaeb1 Update signature 2018-03-28 16:38:40 -05:00
Omar Roth 799e172609 Clean up comments 2018-03-25 22:21:24 -05:00
Omar Roth edfe1eefe8 Add channel refresh 2018-03-25 22:18:29 -05:00
Omar Roth 076eaa7635 Add subscriptions 2018-03-24 22:38:35 -05:00
Omar Roth 0ed3e5d547 Refactor arg_array 2018-03-24 20:57:57 -05:00
Omar Roth 228008168a Update signature 2018-03-22 11:02:15 -05:00
Omar Roth 48da2ced46 Add error handling for top videos 2018-03-19 12:35:35 -05:00
Omar Roth fb87b3347b Bump size of language content 2018-03-17 12:38:34 -05:00
Omar Roth 909bb2be7f Limit size of language request 2018-03-17 12:20:22 -05:00
Omar Roth 39df8ab200 Add rescue for video ranking 2018-03-16 23:57:31 -05:00
Omar Roth 2be57276a2 Add refresh for top videos 2018-03-16 23:01:35 -05:00
Omar Roth 36b184d1fb Add published variant 2018-03-16 22:34:26 -05:00
Omar Roth 7704b76f45 Fix HTTP redirect 2018-03-16 19:58:33 -05:00
Omar Roth 97b93d548b Disable language filtering when there is no key 2018-03-16 19:52:25 -05:00
Omar Roth 6b5c9cfaf1 Add "language" to postgres 2018-03-16 19:45:37 -05:00
Omar Roth 997449ab4b Add language detection for top videos 2018-03-16 19:36:49 -05:00
Omar Roth d8372aa83e Add login page 2018-03-16 11:40:29 -05:00
Omar Roth e8013c6d5c Use try instead of ternary 2018-03-14 18:06:21 -05:00
Omar Roth c53ab94519 Update signature 2018-03-12 18:53:05 -05:00
Omar Roth 496a8bf67b Verify SSL certificates 2018-03-11 10:43:34 -05: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 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 731b837774 Add fix for controversial videos 2018-03-09 10:55:14 -06:00
Omar Roth d9c89f7e3f Limit number of reddit comments 2018-03-09 10:47:50 -06:00
Omar Roth 9886953fb6 Add link for shortened youtube url 2018-03-07 22:15:35 -06:00
Omar Roth 4ae88cd286 Add mapping macro and move templated into helpers.cr 2018-03-07 17:58:33 -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 72826c4d96 Fix regression for youtube pool 2018-03-04 22:25:03 -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 f0b33b2975 Clean up Video class 2018-03-04 08:54:19 -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 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
Omar Roth 323d27a5f6 Add wait time option and add handling for reddit_pool 2018-03-03 15:26:47 -06:00
Omar Roth 84c8fb9b99 Separate with comma views, likes, dislikes 2018-03-03 15:10:56 -06:00
Omar Roth 24cea8f3e7 Add reddit comments 2018-03-03 15:06:14 -06:00
Omar Roth 2e892e8dd4 Update signature 2018-03-03 09:51:58 -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 d6b49bc0ae Fix rank_videos 2018-02-13 13:14:21 -06:00
Omar Roth e46ce28939 Format and add function for vflCCoUi2 and vflg4IfMn 2018-02-13 10:44:11 -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 ea044ec2da Fix rank_videos 2018-02-10 10:06:37 -06:00
Omar Roth 990bca5af5 Refactor client creation 2018-02-05 19:07:49 -06:00
Omar Roth 25434c676c Run 'crystal tool format' 2018-02-05 17:57:03 -06:00
Omar Roth a9cea62d5b Add home page 2018-02-05 17:56:40 -06:00
Omar Roth d79c1ff3e9 Fix video indexing 2018-02-04 19:42:13 -06:00
Omar Roth 1e2139d78c Add ability to decrypt signature for vflxuxnEY/en_US/base.js 2018-02-03 14:41:59 -06:00
Omar Roth 2fcdb7f6ec Partially bypass age-gate 2018-02-02 22:04:34 -06:00
Omar Roth 26c9a87e88 Add published field 2018-02-02 21:44:10 -06:00
Omar Roth 236fdb85ff Move functions into helpers.cr 2018-01-27 20:09:27 -06:00
Omar Roth cf49306ffb Fix index out of bounds error 2018-01-21 17:49:27 -06:00
Omar Roth 01d16ec6af Move helpers into seperate file 2018-01-20 18:19:12 -06:00