Commit Graph

2375 Commits (9418ba1687eb72f88d4793f4df21dd4aae1645a7)

Author SHA1 Message Date
Omar Roth fc7b84cc68 Add line-break so links don't overflow
Omar Roth 72826c4d96 Fix regression for youtube pool
Omar Roth 971b471d72 Fix param conflict
Omar Roth df228c82de Fix param conflict
Omar Roth be6ced202c Fix CLI options
Omar Roth 3cd66d2e7c Include break when there are no comments
Omar Roth 2144c388a5 Fix user-agent string
Omar Roth 814cdc9971 Major fixes, add options for YT, add User-Agent for Reddit
Omar Roth 53acf1f6d6 Use more advanced query for reddit search
Omar Roth f0b33b2975 Clean up Video class
Omar Roth aa0864f87d Don't redirect youtube links
Omar Roth c42c0b65b0 Only replace "/watch" links in Reddit description
Omar Roth 66f639a1d1 Remove TODO
Omar Roth 38d7dfd7e3 Allow for collapsing and expanding of Reddit comments
Omar Roth 62dbd361de Add support for reddit redirect
Omar Roth 1bf492ce78 Clarify wait option
Omar Roth cf9931e2a1 Add support for redirect in URL description
Omar Roth fc2e10a54f Fix client reuse
Omar Roth baeb44be13 Remove "puts"
Omar Roth d573461a67 Parse HTML properly instead of relying on regexes
Omar Roth b8fe82a7f7 Substitute youtube links in description for local links
Omar Roth 323d27a5f6 Add wait time option and add handling for reddit_pool
Omar Roth 84c8fb9b99 Separate with comma views, likes, dislikes
Omar Roth 24cea8f3e7 Add reddit comments
Omar Roth 2e892e8dd4 Update signature
Omar Roth dff93f67f9 Add author for item
Omar Roth 3a95d21808 Minor fixes
Omar Roth 7828cd9767 Remove html from DB
Omar Roth 13ef4440d0 Replace signature function with generic catchall
Omar Roth 225625a0fb Add redirect for missing params
Omar Roth 8956623347 Add fix to top_videos for empty database
Omar Roth d6b49bc0ae Fix rank_videos
Omar Roth e46ce28939 Format and add function for vflCCoUi2 and vflg4IfMn
Omar Roth 5b47be2b4d Run 'crystal tool format'
Omar Roth 4d1fa61bf0 Only add signature if stream has decrypted signature
Omar Roth 1d301a5055 Add support for different signature functions
Omar Roth 42df0df5a0 Clean up argument creation
Omar Roth 489ae35f1d Split audio and video into seperate views
Omar Roth 6adbcd050c Clarify listen param and update icon
Omar Roth da97dfad8e Fix arg parsing
Omar Roth ea044ec2da Fix rank_videos
Omar Roth dc45fbfad6 Use error template for 404 and 500
Omar Roth ecb1999795 Ensure clients are recycled properly
Omar Roth a27c556904 Fix 500 for livestream
Omar Roth 655a593c87 Fix poster for videos that don't have thumbnail url
Omar Roth 5159ec0f6e Pull rank_videos into seperate thread
Omar Roth 567856363b Remove assets from repo
Omar Roth d4c88f2844 Fix watch for videos that don't have fmt_stream
Omar Roth 6167ce30b0 Disable logging for connection pool
Omar Roth 76c008d319 Make sure extra options don't override Kemal defaults
Omar Roth e9ee41846c Fix formatting
Omar Roth c8d2d12282 Add default number of threads
Omar Roth fb80d2f484 Add padding for video description
Omar Roth 990bca5af5 Refactor client creation
Omar Roth 0e704056a1 Make sure client gets returned to pool
Omar Roth 2e402c1977 Clean up views
Omar Roth f47eb3016a Remove resize for larger screens
Omar Roth d3e159ffbe Add youtube hotkeys
Omar Roth 39b271585a Add margin for footer
Omar Roth 66f28c8f63 Use same layout for search as for index
Omar Roth d1a2b193aa Change client timeout and make sure there is always a client available
Omar Roth 25434c676c Run 'crystal tool format'
Omar Roth a9cea62d5b Add home page
Omar Roth 3bd6f0151b Change layout for recommended variables
Omar Roth 7a7b1382c0 Use more consistent variables for search.ecr
Omar Roth a9ef931856 Fix error handling
Omar Roth d79c1ff3e9 Fix video indexing
Omar Roth 1facca5408 Replace unnecessary constant
Omar Roth 03aeb27b40 Add ability to specify number of threads
Omar Roth 1e2139d78c Add ability to decrypt signature for vflxuxnEY/en_US/base.js
Omar Roth 859517e206 Change layout for larger screens
Omar Roth 2fcdb7f6ec Partially bypass age-gate
Omar Roth 26c9a87e88 Add published field
Omar Roth d7d905447f Change license
Omar Roth a951f4a2f8 Replace chomp with rstrip
Omar Roth 03de6fbf06 Use likes, dislikes from record
Omar Roth 236fdb85ff Move functions into helpers.cr
Omar Roth cf49306ffb Fix index out of bounds error
Omar Roth 5c1bd5fae6 Run 'crystal tool format'
Omar Roth e192b55ffa Allow for views to supply tags to header
Omar Roth 3c29cc71bb Remove unneeded style from layout
Omar Roth 92f2e61624 Style 'next' link for search view
Omar Roth 1305410f4d Move script tags into video view
Omar Roth 02b6990240 Get videos from search
Omar Roth daba77d665 Merge changes
Omar Roth a236d7a4e8 Fix several bugs in connection pool
Omar Roth 01d16ec6af Move helpers into seperate file
Omar Roth 6418d87a63 Add fix for videos that don't have specific keys
Omar Roth 19309f5ef6 Fix client refresh
Omar Roth f77dcb7f9b Randomly refresh HTTP clients
Omar Roth 61e3b47210 Add id 'pool' for connetion pool
Omar Roth c36b22a16d Refresh connection pool
Omar Roth 634b5f6c87 Add thumbnails for related videos
Omar Roth 6b5426b5f6 Remove unnecessary view
Omar Roth f09f971af7 Fix audio-only for video.js
Omar Roth 9e4d0bd3a5 Add video,js, Genesis 3:6
Omar Roth 9f63fcaa1e Fix up search
Omar Roth b21365248d Add speed control
Omar Roth 38cff5a752 Freshen up for the big dance
Omar Roth 60c618942f Add wait for empty connection pool
Omar Roth dfdeb02c7f Try using connection pool for getting videos
Omar Roth 070de12391 Fix broken title for related video and add link to author's channel
Omar Roth 225907b507 Fix unbalanced div
Omar Roth 9bfb663848 Move seperator to templates
Omar Roth c4c1b43e5c Add thumbnail to search
Omar Roth d65106d8b1 Speed up get_video
Omar Roth eed7a25e7d Add header
Omar Roth 060c4da96d Add related videos and clean up video class
Omar Roth d1eb81b653 Add audio-only
Omar Roth 87601d1400 Run 'crystal tool format'
Omar Roth 7fc7a47849 Remove unused info
Omar Roth 266ec3fa03 Add error page and give video.ecr more detailed video info
Omar Roth a0d34367bc Adds description, video class, wilson score...
Omar Roth f7f5f91316 Adds description, video class, wilson score...
Omar Roth 5d48215a5f Update layout.ecr, replace navbar and add functional search
Omar Roth 86a8e181bf Add search
Omar Roth 127e140130 Add fontawesome
Omar Roth 764fdf42ef Add fix for args order and rename videos table
Omar Roth 740caf8fd9 Update shard.yml and fix postgres queries
Omar Roth 8d6de7deba Add primitive postgres support
Omar Roth 383ed8b209 Rename project
Omar Roth 8ee5423af6 Move views to src/ directory
Omar Roth 7feec0c00d Add engagement rating, rating, likes, dislikes, and form of logging (primitive but in the hope of reverse-engineering requests)
Omar Roth 31a3e1bb3a Add view counter, likes/dislikes, rating, and HTML parser
Omar Roth 26959020b7 Initial commit