Commit Graph

1779 Commits (555108c7fdb595a1d7e674ffc7204efd998577a3)

Author SHA1 Message Date
Omar Roth c56a945533 Update signature 7 years ago
Omar Roth f7fad7fe85 Update signature 7 years ago
Omar Roth 6660b2b56b Fix conflict on video update 7 years ago
Omar Roth 6c934542a6 Add versioning for assets 7 years ago
Omar Roth 72690f587e Clarify request types 7 years ago
Omar Roth 4671bcf71a Add support for Google Authenticator codes 7 years ago
Omar Roth 26c496ce78 Clarify link to subscription manager 7 years ago
Omar Roth eb1df96e1b Remove patch and update file structure 7 years ago
Omar Roth a789114f43 Fix login 7 years ago
Omar Roth 99c02722db Remove all cookies on sign out 7 years ago
Omar Roth 431fa642bf Add /subscription_manager 7 years ago
Omar Roth 1ada71e5ba Move user state into before_all 7 years ago
Omar Roth b10d0dce78 Fix conflict on duplicates 7 years ago
Omar Roth a01bdf6c16 Add /user endpoint 7 years ago
Omar Roth 8e24f4e9e3 Update signature 7 years ago
Omar Roth a15c523e1d Update signature 7 years ago
Omar Roth fdf92ddc03 Update signature 7 years ago
Omar Roth b7f673b1e1 Add alt links for all youtube endpoints 7 years ago
Omar Roth aa20f0424d Update signature 7 years ago
Omar Roth a50ff5cffb Update signature 7 years ago
Omar Roth be5c925418 Update signature 7 years ago
Omar Roth f5ea832721 Upgrade to Crystal 0.25 and update signature 7 years ago
Omar Roth 604ae665b6 Update signature 7 years ago
Omar Roth 650b8a50fc Add subscribe button to channel page 7 years ago
Omar Roth 7234785145 Update signature 7 years ago
Omar Roth d89ccc4d50 Unify video/audio player 7 years ago
Omar Roth e9e6bbd710 Update options for videoplayback preflight 7 years ago
Omar Roth e0dd56f4ff Fix dash endpoint 7 years ago
Omar Roth 208f32661b Fix notifications 7 years ago
Omar Roth 5e572c4610 Update signature 7 years ago
Omar Roth 3c9fb5ab71 Use properties instead of info 7 years ago
Omar Roth ce714a0854 Rename id to ucid for clarity 7 years ago
Omar Roth 581056ae39 Future-proof extractors 7 years ago
Omar Roth 6d0079e886 Clean up published extraction 7 years ago
Omar Roth 36ba69be1f Add channel page 7 years ago
Omar Roth e865a801aa Spin parts into components 7 years ago
Omar Roth a2e23f7022 Move author and ucid into schema 7 years ago
Omar Roth cbe10784aa Fix notifications layout on mobile 7 years ago
Omar Roth a405188af6 Qualify time for shared videos 7 years ago
Omar Roth b8d4951a48 Add support for "t" param in watch page 7 years ago
Omar Roth 471f5345e2 Remove local links for video playback 7 years ago
Omar Roth 61cd135780 Use local links for video playback 7 years ago
Omar Roth f79825fc80 General cleanup 7 years ago
Omar Roth 609ad873bc Update signature 7 years ago
Omar Roth c6539c803a Fix typo 7 years ago
Omar Roth fdcfe0bb14 Seperate new videos in subscription feed 7 years ago
Omar Roth 0e85a04761 Fix alt linkfor youtu.be urls 7 years ago
Omar Roth 75f8fcd40b Add support for AAhBBmCCsDDms in video start and end params 7 years ago
Omar Roth fef2cbc0b2 Update signature 7 years ago
Omar Roth dce9ef3e8b Add clearer message for login failure 7 years ago
Omar Roth a48bf70d85 Update signature 7 years ago
Omar Roth b52803904c Add fix for channels that have been deleted 7 years ago
Omar Roth d1841b9be5 Use sidebar for pulling subscriptions 7 years ago
Omar Roth 6d3e88aeb5 Unify formatting 7 years ago
Omar Roth 2fee621843 Add link to login for subscriptions 7 years ago
Omar Roth 58410e09f7 Clarify crawl option 7 years ago
Omar Roth ae68213dc7 Add TFA 7 years ago
Omar Roth 1ea7290892 Add video refresh 7 years ago
Omar Roth 6a7d19163e General cleanup 7 years ago
Omar Roth d753e52680 Add Fiber.yield to jobs 7 years ago
Omar Roth 92f78ff541 Remove client pool 7 years ago
Omar Roth 8477579e0b Clean up Reddit mapping 7 years ago
Omar Roth 19f5729e18 Add support for incorrect password on /login 7 years ago
Omar Roth 7621c8ef2d Update signature 7 years ago
Omar Roth 742fa6a705 Add negative offset for subscription feed 7 years ago
Omar Roth 84aef70803 Set referer if referer is /login 7 years ago
Omar Roth 7d3ecf7567 Put word-wrap in default.css 7 years ago
Omar Roth 9180a19bf9 Update signature 7 years ago
Omar Roth fd609ee7e5 Allow range in videoplayback headers 7 years ago
Omar Roth 4cfddcfb42 Add allow headers for preflight requests 7 years ago
Omar Roth 86627d8303 Add options for videoplayback 7 years ago
Omar Roth 11e871ba83 Add CORS header for videoplayback 7 years ago
Omar Roth 9898b2900f Change status_code to that of response for videoplayback 7 years ago
Omar Roth 6c5cbca575 Add support for fvip in videoplayback 7 years ago
Omar Roth 830d6fae8e Add support for using local links in manifest 7 years ago
Omar Roth bc068721ab Add filtered handler for videoplayback 7 years ago
Omar Roth f08199e7cf Add /videoplayback endpoint 7 years ago
Omar Roth 4bf0e538e4 Add dark theme 7 years ago
Omar Roth 6bbbfcb919 Combine enable_subscriptions and disable_notifications 7 years ago
Omar Roth 9080cafa2a Update signature 7 years ago
Omar Roth 029077a4e8 Decrease time between channel updates 7 years ago
Omar Roth 0c5b92a6cb Add error handling for channel refresh 7 years ago
Omar Roth 6cb5072961 Style video element with css instead of js 7 years ago
Omar Roth 99d299d62a Don't filter sources for audio-only 7 years ago
Omar Roth 6f0e2365de Use css for styling instead of video.js 'fluid' 7 years ago
Omar Roth a8db5aaed8 Decrement currentSource length on splice 7 years ago
Omar Roth 20c0bff96d Remove unsupported formats from quality selector 7 years ago
Omar Roth 2a4b643539 Add label to fmt_stream 7 years ago
Omar Roth 21ef842a2e Add ids for watch page elements 7 years ago
Omar Roth 7a7e735d36 Use .strip for finding email 7 years ago
Omar Roth 316ca2ab34 Add gzip for views 7 years ago
Omar Roth b3e84e27f8 Allow channel_threads to be configured and increase pool_size 7 years ago
Omar Roth e8349ae46b Don't sort ad_slots 7 years ago
Omar Roth 22800efbc4 Clean up decrypt_signature for watch page 7 years ago
Omar Roth ce28348da5 Use 'fluid' for videojs 7 years ago
Omar Roth 3b13cf46c5 Add referer redirect 7 years ago
Omar Roth 44ebf0ed8e Add detection for ad tags and category 7 years ago
Omar Roth 86bf5a6266 Add notification count 7 years ago
Omar Roth 1a458ee94c Substitute redirect links in video description 7 years ago
Omar Roth 69dd52bac3 Use generic url for thumbnails 7 years ago
Omar Roth 841308929d Add &start and &end to watch page 7 years ago
Omar Roth ff91ec820c Remove notifications once viewed 7 years ago
Omar Roth cc6d322b0c Bump time for get_channel refresh 7 years ago
Omar Roth e2b5b7793a Use fill_links once instead of per comment 7 years ago
Omar Roth 815aeeb29c Fix subscriptions on watch page 7 years ago
Omar Roth c3ac257dbf Remove empty array from get_user 7 years ago
Omar Roth 10c1cfa4b5 Use optional query for watch page 7 years ago
Omar Roth e2c50d4d1f Use get_user for watch page 7 years ago
Omar Roth 8d66493c01 Remove string interpolation from SQL queries 7 years ago
Omar Roth a54f59ad74 Minor refactor 7 years ago
Omar Roth 29545a7a6f Remove nonfunctional element on login page 7 years ago
Omar Roth 172fc72fa9 Fix arg_array on empty 7 years ago
Omar Roth 0438572c58 Use .round instead of .significant for watch page 7 years ago
Omar Roth 57102c54c7 Add notifications 7 years ago
Omar Roth 823f679cef Add fix for removed videos in subbox 7 years ago
Omar Roth cf9a8b0037 Remove File.write from fetch_user 7 years ago
Omar Roth ffdf2ea4c5 Add email to user table 7 years ago
Omar Roth 0e30ddb728 Clean up fetch_channel 7 years ago
Omar Roth 7757eca92c Add subscribe and unsubscribe button 7 years ago
Omar Roth a7452d61fa Use .significant instead of .round 7 years ago
Omar Roth 86d7e6170f Fix channel link 7 years ago
Omar Roth 2c5d75dcce Add enable and disable notifications (bell dinging feature) 7 years ago
Omar Roth 6c4cfbe39d Add users table 7 years ago
Omar Roth 4a7fc4ea69 Fix refresh time 7 years ago
Omar Roth 60360ee2ae Don't change id for video conflict 7 years ago
Omar Roth 385d6301a3 Only update time for get_channel 7 years ago
Omar Roth 10f2048d95 Add conflict resolution for channel updates 7 years ago
Omar Roth 239a6c892c Use seperate table for videos pulled from RSS 7 years ago
Omar Roth e89f15a65c Use alternate thumbnail url for search page 7 years ago
Omar Roth f047f87100 Use alternative url for watch page thumbnails 7 years ago
Omar Roth c172dac811 Use alternative url for homepage thumbnails 7 years ago
Omar Roth 3a1a2403f5 Update signature function 7 years ago
Omar Roth 8d97ecaeb1 Update signature 7 years ago
Omar Roth f5437b18c7 Add break after reddit comments 7 years ago
Omar Roth 34ca35b0f7 Center heading elements 7 years ago
Omar Roth 799e172609 Clean up comments 7 years ago
Omar Roth edfe1eefe8 Add channel refresh 7 years ago
Omar Roth b6d2f5d658 Use CDN for silvermine quality selector 7 years ago
Omar Roth 7572c1d5ee Align-right for search and subscriptions 7 years ago
Omar Roth 15f4d95ab4 Add fix for testing authentication 7 years ago
Omar Roth 253ea8113b Minor fix for filters and search 7 years ago
Omar Roth 076eaa7635 Add subscriptions 7 years ago
Omar Roth 0ed3e5d547 Refactor arg_array 7 years ago
Omar Roth 2490833b6b Add logout 7 years ago
Omar Roth 228008168a Update signature 7 years ago
Omar Roth 48da2ced46 Add error handling for top videos 7 years ago
Omar Roth fb87b3347b Bump size of language content 7 years ago
Omar Roth 909bb2be7f Limit size of language request 7 years ago
Omar Roth 02f1cd1a8b Remove error message 7 years ago
Omar Roth 39df8ab200 Add rescue for video ranking 7 years ago
Omar Roth 2be57276a2 Add refresh for top videos 7 years ago
Omar Roth 36b184d1fb Add published variant 7 years ago
Omar Roth 721851da81 Add word break for video titles 7 years ago
Omar Roth f0870e0cdd Add title for login page 7 years ago
Omar Roth 46f8032fb9 Fix dash manifest 7 years ago
Omar Roth 7704b76f45 Fix HTTP redirect 7 years ago
Omar Roth 97b93d548b Disable language filtering when there is no key 7 years ago
Omar Roth 6b5c9cfaf1 Add "language" to postgres 7 years ago
Omar Roth 997449ab4b Add language detection for top videos 7 years ago
Omar Roth dde7a643e9 Add playsinline for watch.ecr 7 years ago
Omar Roth 1b17550545 Format views and add link to cookie issue 7 years ago
Omar Roth 6581f96b70 Add fix for HTTP::Cookies 7 years ago
Omar Roth d8372aa83e Add login page 7 years ago
Omar Roth e8013c6d5c Use try instead of ternary 7 years ago
Omar Roth c8a798e13c Add fix for streams 7 years ago
Omar Roth f788548961 Use each_with_index for watch and audio 7 years ago
Omar Roth f33cbb8b92 Add sources for iOS 7 years ago
Omar Roth e37e9a0b8e Add qualityselector 7 years ago
Omar Roth 1a6c28735c Fix DASH manifest to be more similar to YT's 7 years ago
Omar Roth 8fb97a4511 Add suppor for dash manifest 7 years ago
Omar Roth c53ab94519 Update signature 7 years ago
Omar Roth 9480c6f806 Use horizontal padding 7 years ago
Omar Roth 2bae09e018 Add option to hide all reddit comments 7 years ago
Omar Roth d7168815aa Use l-box instead of margin 7 years ago
Omar Roth 052fa400a2 Add padding for watch page 7 years ago
Omar Roth 8b2d2044b2 Escape title name 7 years ago
Omar Roth 496a8bf67b Verify SSL certificates 7 years ago
Omar Roth 6795c183af Remove logging for Reddit comments 7 years ago
Omar Roth d664d6b371 Only use HSTS if SSL is enabled 7 years ago
Omar Roth 31d1315c60 Fix HSTS header 7 years ago
Omar Roth 6d7ae6f638 Only add HTTP query if it exists 7 years ago
Omar Roth cf07b66c12 Use 301 for HTTP redirect 7 years ago
Omar Roth 298af854fc Fix alt_link for youtu.be 7 years ago
Omar Roth c6accd2706 Add redirect to config.yml 7 years ago
Omar Roth b24f82fe0d Access assets over https 7 years ago
Omar Roth 84fc87229c Add full path redirect 7 years ago
Omar Roth 2596410b97 Add HTTP redirect 7 years ago
Omar Roth eb1d1e30d1 Add config file 7 years ago
Omar Roth e22d6d8549 Add max-age for static assets 7 years ago
Omar Roth cb22d7423c Add date shared 7 years ago
Omar Roth 731b837774 Add fix for controversial videos 7 years ago
Omar Roth d9c89f7e3f Limit number of reddit comments 7 years ago
Omar Roth caf82ccb8f Add error message for reddit comments 7 years ago
Omar Roth 9886953fb6 Add link for shortened youtube url 7 years ago
Omar Roth fd1bd35b42 Remove macro 7 years ago
Omar Roth 4ae88cd286 Add mapping macro and move templated into helpers.cr 7 years ago
Omar Roth b388181cd4 Use different source for fallback thumbnail 7 years ago
Omar Roth 24fc14ac7a Add player title and thumbnail 7 years ago
Omar Roth 212ba05047 Update signature function 7 years ago
Omar Roth 8a3056d0e3 Make link styling default for anchor tags 7 years ago
Omar Roth ebe51c91d7 Add local alternatives for video links 7 years ago
Omar Roth e9f214cdc0 Update signature function 7 years ago
Omar Roth 2dae26e348 Break lines more prettily 7 years ago
Omar Roth b14b26f7c2 Make rank_videos less greedy 7 years ago
Omar Roth fc7b84cc68 Add line-break so links don't overflow 7 years ago
Omar Roth 72826c4d96 Fix regression for youtube pool 7 years ago
Omar Roth 971b471d72 Fix param conflict 7 years ago
Omar Roth df228c82de Fix param conflict 7 years ago
Omar Roth be6ced202c Fix CLI options 7 years ago
Omar Roth 3cd66d2e7c Include break when there are no comments 7 years ago
Omar Roth 2144c388a5 Fix user-agent string 7 years ago
Omar Roth 814cdc9971 Major fixes, add options for YT, add User-Agent for Reddit 7 years ago
Omar Roth 53acf1f6d6 Use more advanced query for reddit search 7 years ago
Omar Roth f0b33b2975 Clean up Video class 7 years ago
Omar Roth aa0864f87d Don't redirect youtube links 7 years ago
Omar Roth c42c0b65b0 Only replace "/watch" links in Reddit description 7 years ago
Omar Roth 66f639a1d1 Remove TODO 7 years ago
Omar Roth 38d7dfd7e3 Allow for collapsing and expanding of Reddit comments 7 years ago
Omar Roth 62dbd361de Add support for reddit redirect 7 years ago
Omar Roth 1bf492ce78 Clarify wait option 7 years ago
Omar Roth cf9931e2a1 Add support for redirect in URL description 7 years ago
Omar Roth fc2e10a54f Fix client reuse 7 years ago
Omar Roth baeb44be13 Remove "puts" 7 years ago
Omar Roth d573461a67 Parse HTML properly instead of relying on regexes 7 years ago
Omar Roth b8fe82a7f7 Substitute youtube links in description for local links 7 years ago
Omar Roth 323d27a5f6 Add wait time option and add handling for reddit_pool 7 years ago
Omar Roth 84c8fb9b99 Separate with comma views, likes, dislikes 7 years ago
Omar Roth 24cea8f3e7 Add reddit comments 7 years ago
Omar Roth 2e892e8dd4 Update signature 7 years ago
Omar Roth dff93f67f9 Add author for item 7 years ago
Omar Roth 3a95d21808 Minor fixes 7 years ago
Omar Roth 7828cd9767 Remove html from DB 7 years ago
Omar Roth 13ef4440d0 Replace signature function with generic catchall 7 years ago
Omar Roth 225625a0fb Add redirect for missing params 7 years ago
Omar Roth 8956623347 Add fix to top_videos for empty database 7 years ago
Omar Roth d6b49bc0ae Fix rank_videos 7 years ago
Omar Roth e46ce28939 Format and add function for vflCCoUi2 and vflg4IfMn 7 years ago
Omar Roth 5b47be2b4d Run 'crystal tool format' 7 years ago
Omar Roth 4d1fa61bf0 Only add signature if stream has decrypted signature 7 years ago
Omar Roth 1d301a5055 Add support for different signature functions 7 years ago
Omar Roth 42df0df5a0 Clean up argument creation 7 years ago
Omar Roth 489ae35f1d Split audio and video into seperate views 7 years ago
Omar Roth 6adbcd050c Clarify listen param and update icon 7 years ago
Omar Roth da97dfad8e Fix arg parsing 7 years ago
Omar Roth ea044ec2da Fix rank_videos 7 years ago
Omar Roth dc45fbfad6 Use error template for 404 and 500 7 years ago
Omar Roth ecb1999795 Ensure clients are recycled properly 7 years ago
Omar Roth a27c556904 Fix 500 for livestream 7 years ago
Omar Roth 655a593c87 Fix poster for videos that don't have thumbnail url 7 years ago
Omar Roth 5159ec0f6e Pull rank_videos into seperate thread 7 years ago
Omar Roth 567856363b Remove assets from repo 7 years ago
Omar Roth d4c88f2844 Fix watch for videos that don't have fmt_stream 7 years ago
Omar Roth 6167ce30b0 Disable logging for connection pool 7 years ago
Omar Roth 76c008d319 Make sure extra options don't override Kemal defaults 7 years ago
Omar Roth e9ee41846c Fix formatting 7 years ago
Omar Roth c8d2d12282 Add default number of threads 7 years ago
Omar Roth fb80d2f484 Add padding for video description 7 years ago
Omar Roth 990bca5af5 Refactor client creation 7 years ago
Omar Roth 0e704056a1 Make sure client gets returned to pool 7 years ago
Omar Roth 2e402c1977 Clean up views 7 years ago
Omar Roth f47eb3016a Remove resize for larger screens 7 years ago
Omar Roth d3e159ffbe Add youtube hotkeys 7 years ago
Omar Roth 39b271585a Add margin for footer 7 years ago
Omar Roth 66f28c8f63 Use same layout for search as for index 7 years ago
Omar Roth d1a2b193aa Change client timeout and make sure there is always a client available 7 years ago
Omar Roth 25434c676c Run 'crystal tool format' 7 years ago
Omar Roth a9cea62d5b Add home page 7 years ago
Omar Roth 3bd6f0151b Change layout for recommended variables 7 years ago
Omar Roth 7a7b1382c0 Use more consistent variables for search.ecr 7 years ago
Omar Roth a9ef931856 Fix error handling 7 years ago
Omar Roth d79c1ff3e9 Fix video indexing 7 years ago
Omar Roth 1facca5408 Replace unnecessary constant 7 years ago
Omar Roth 03aeb27b40 Add ability to specify number of threads 7 years ago
Omar Roth 1e2139d78c Add ability to decrypt signature for vflxuxnEY/en_US/base.js 7 years ago
Omar Roth 859517e206 Change layout for larger screens 7 years ago
Omar Roth 2fcdb7f6ec Partially bypass age-gate 7 years ago
Omar Roth 26c9a87e88 Add published field 7 years ago
Omar Roth d7d905447f Change license 7 years ago
Omar Roth a951f4a2f8 Replace chomp with rstrip 7 years ago
Omar Roth 03de6fbf06 Use likes, dislikes from record 7 years ago
Omar Roth 236fdb85ff Move functions into helpers.cr 7 years ago
Omar Roth cf49306ffb Fix index out of bounds error 7 years ago
Omar Roth 5c1bd5fae6 Run 'crystal tool format' 7 years ago
Omar Roth e192b55ffa Allow for views to supply tags to header 7 years ago
Omar Roth 3c29cc71bb Remove unneeded style from layout 7 years ago
Omar Roth 92f2e61624 Style 'next' link for search view 7 years ago
Omar Roth 1305410f4d Move script tags into video view 7 years ago
Omar Roth 02b6990240 Get videos from search 7 years ago
Omar Roth daba77d665 Merge changes 7 years ago
Omar Roth a236d7a4e8 Fix several bugs in connection pool 7 years ago
Omar Roth 01d16ec6af Move helpers into seperate file 7 years ago
Omar Roth 6418d87a63 Add fix for videos that don't have specific keys 7 years ago
Omar Roth 19309f5ef6 Fix client refresh 7 years ago
Omar Roth f77dcb7f9b Randomly refresh HTTP clients 7 years ago
Omar Roth 61e3b47210 Add id 'pool' for connetion pool 7 years ago
Omar Roth c36b22a16d Refresh connection pool 7 years ago
Omar Roth 634b5f6c87 Add thumbnails for related videos 7 years ago
Omar Roth 6b5426b5f6 Remove unnecessary view 7 years ago
Omar Roth f09f971af7 Fix audio-only for video.js 7 years ago
Omar Roth 9e4d0bd3a5 Add video,js, Genesis 3:6 7 years ago
Omar Roth 9f63fcaa1e Fix up search 7 years ago
Omar Roth b21365248d Add speed control 7 years ago
Omar Roth 38cff5a752 Freshen up for the big dance 7 years ago
Omar Roth 60c618942f Add wait for empty connection pool 7 years ago
Omar Roth dfdeb02c7f Try using connection pool for getting videos 7 years ago
Omar Roth 070de12391 Fix broken title for related video and add link to author's channel 7 years ago
Omar Roth 225907b507 Fix unbalanced div 7 years ago
Omar Roth 9bfb663848 Move seperator to templates 7 years ago
Omar Roth c4c1b43e5c Add thumbnail to search 7 years ago
Omar Roth d65106d8b1 Speed up get_video 7 years ago
Omar Roth eed7a25e7d Add header 7 years ago
Omar Roth 060c4da96d Add related videos and clean up video class 7 years ago
Omar Roth d1eb81b653 Add audio-only 7 years ago
Omar Roth 87601d1400 Run 'crystal tool format' 7 years ago
Omar Roth 7fc7a47849 Remove unused info 7 years ago
Omar Roth 266ec3fa03 Add error page and give video.ecr more detailed video info 7 years ago
Omar Roth a0d34367bc Adds description, video class, wilson score... 7 years ago
Omar Roth f7f5f91316 Adds description, video class, wilson score... 7 years ago
Omar Roth 5d48215a5f Update layout.ecr, replace navbar and add functional search 7 years ago
Omar Roth 86a8e181bf Add search 7 years ago
Omar Roth 127e140130 Add fontawesome 7 years ago
Omar Roth 764fdf42ef Add fix for args order and rename videos table 7 years ago
Omar Roth 740caf8fd9 Update shard.yml and fix postgres queries 7 years ago
Omar Roth 8d6de7deba Add primitive postgres support 7 years ago
Omar Roth 383ed8b209 Rename project 7 years ago
Omar Roth 8ee5423af6 Move views to src/ directory 7 years ago
Omar Roth 7feec0c00d Add engagement rating, rating, likes, dislikes, and form of logging (primitive but in the hope of reverse-engineering requests) 7 years ago
Omar Roth 31a3e1bb3a Add view counter, likes/dislikes, rating, and HTML parser 7 years ago
Omar Roth 26959020b7 Initial commit 7 years ago