Commit Graph

228 Commits

Author SHA1 Message Date
Omar Roth
8170dad9bd Simplify video extractor 2019-02-06 16:12:11 -06:00
Omar Roth
2630dc8dcd Add 'related_videos' to video params 2019-02-04 15:28:51 -06:00
Omar Roth
c9bc081f8c Respect DEFAULT_USER_PREFERENCES in video params 2019-01-31 15:06:53 -06:00
Omar Roth
9e73e3b153 Add errorcode for invalid video IDs 2019-01-31 08:48:44 -06:00
Omar Roth
1f6078cf25 Fix links to invalid genre channels 2019-01-25 11:35:25 -06:00
Omar Roth
20c4d213d9 Use config.domain in place of hardcoded value 2019-01-19 09:10:52 -06:00
Omar Roth
8f57388cd3 Fix average rating where likes and dislikes are null 2019-01-12 11:56:07 -06:00
Omar Roth
138a6b1136 Add missing "avg_rating" 2019-01-10 08:06:54 -06:00
Omar Roth
dcf45d217f Don't cache results when using proxy 2018-11-26 20:46:08 -06:00
Omar Roth
aeaeacbf8d Refactor geo-bypass 2018-11-20 10:07:50 -06:00
Omar Roth
16964ca6ce Add 'region' parameter for bypassing region locks 2018-11-17 17:33:30 -06:00
Omar Roth
6db235becf Remove nil assertions from video extractor 2018-11-15 09:38:29 -06:00
Omar Roth
9113846d10 Fix typo in genre urls 2018-11-12 10:01:31 -06:00
Omar Roth
4b76b93610 Add continuous playback 2018-11-11 11:45:05 -06:00
Omar Roth
e8c9641548 Update info extractor 2018-11-10 10:50:09 -06:00
Omar Roth
30d040b02a Fix extractor for author thumbnails 2018-11-08 18:32:47 -06:00
Omar Roth
4f856dd898 Add support for Crystal 0.27.0 2018-11-04 09:37:12 -06:00
Omar Roth
d739ef8fd3 Add fix for videos without keywords 2018-11-02 08:26:35 -05:00
Omar Roth
c92f6e44e7 Update keywords and view_count 2018-11-02 08:09:28 -05:00
Omar Roth
e39dec9778 Add option to listen by default 2018-10-30 09:41:23 -05:00
Omar Roth
eb44a60f8d Remove migration point 2018-10-30 09:04:01 -05:00
Omar Roth
4875aa1d7e Add partial support for video duration in thumbnails 2018-10-20 20:37:55 -05:00
Omar Roth
1cfa1f6559 Add 'paid' and 'premium' flags to API 2018-10-16 11:15:14 -05:00
Omar Roth
e46e6183ae Fix proxying for videos 2018-10-14 11:29:20 -05:00
Omar Roth
b49623f90f Revert "Attempt to bypass channel region locks"
This reverts commit 95c6747a3e.
2018-10-14 11:14:27 -05:00
Omar Roth
95c6747a3e Attempt to bypass channel region locks 2018-10-14 09:53:40 -05:00
Omar Roth
6e0df50a03 Remove migration points 2018-10-13 20:03:48 -05:00
Omar Roth
f88697541c Add author_thumbnail to '/api/v1/videos' 2018-10-13 20:01:58 -05:00
Omar Roth
1568a35cfb Add column to video update 2018-10-12 22:37:12 -05:00
Omar Roth
93082c0a45 Remove migration points 2018-10-12 21:28:15 -05:00
Omar Roth
1a39faee75 Add subCountText and add XHR alternative for subscribing to channels 2018-10-12 21:17:37 -05:00
Omar Roth
80bc29f3cd Add basic handling for (almost) valid video URLs 2018-10-06 22:22:22 -05:00
Omar Roth
3830604e42 Try to speed up find_working_proxies 2018-10-03 10:38:07 -05:00
Omar Roth
f8eb5ab416 Break after successful response 2018-10-01 20:02:14 -05:00
Omar Roth
ae2850215f Fix method for detecting valid info resposne 2018-10-01 19:55:47 -05:00
Omar Roth
d418f50576 Make geo-bypass more robust 2018-10-01 19:01:44 -05:00
Omar Roth
c2f7d3d41c Add handling for specific genre channels 2018-09-27 17:11:19 -05:00
Omar Roth
4fb275ec6e Get more video information when possible 2018-09-26 19:47:06 -05:00
Omar Roth
aa819a189e Use alternate source for proxies 2018-09-25 21:07:18 -05:00
Omar Roth
2e65997447 Fix geo-bypass threads 2018-09-25 18:16:07 -05:00
Omar Roth
3e3de1890a Overhaul geo-bypass 2018-09-25 17:56:59 -05:00
Omar Roth
1289065151 Add host language to fetch_video 2018-09-25 17:42:17 -05:00
Omar Roth
9a7852341d Use custom ranking for regions 2018-09-24 14:24:33 -05:00
Omar Roth
1922f6c69a Add more regions to geo-bypass 2018-09-23 19:29:47 -05:00
Omar Roth
5bdd8327d4 Add better support for movies in search and watch page 2018-09-23 12:13:08 -05:00
Omar Roth
099b711400 Add 'host' to API thumbnails 2018-09-21 10:11:04 -05:00
Omar Roth
1703788f4b Revert "Replace ytimg with local thumbnails"
This reverts commit 95e2d8f1b7.
2018-09-20 11:05:25 -05:00
Omar Roth
95e2d8f1b7 Replace ytimg with local thumbnails 2018-09-20 10:35:49 -05:00
Omar Roth
fe5286a210 Add 'maxres' to video thumbnails 2018-09-19 15:24:41 -05:00
Omar Roth
0e1b5d7cdd Add fix for dash sequences 2018-09-15 10:25:43 -05:00
Omar Roth
d2bbf9d33c Fix dash parsing for video info 2018-09-15 08:56:47 -05:00
Omar Roth
429a4b2dec Proxy thumbnails 2018-09-14 21:24:28 -05:00
Omar Roth
a54668688b Add support for dashmpd within video info 2018-09-12 22:31:47 -05:00
Omar Roth
89bda1d3db Remove migration points 2018-09-09 21:58:22 -05:00
Omar Roth
5b2c228bb6 Add 'license' 2018-09-09 14:47:26 -05:00
Omar Roth
ffab3ee79f Shrink size between video requests 2018-09-09 14:41:29 -05:00
Omar Roth
dc6cc028c5 Remove migration point 2018-09-09 14:34:16 -05:00
Omar Roth
40028e1462 Update SQL and remove migration points 2018-09-04 09:57:40 -05:00
Omar Roth
53732cdcab Add genre URLs 2018-09-04 09:50:19 -05:00
Omar Roth
4022670cb1 Fix typo in video params 2018-08-30 21:04:41 -05:00
Omar Roth
bdaa8a06fd Fix typo 2018-08-30 20:25:43 -05:00
Omar Roth
7fd0f93d02 Add support for preferences as query params 2018-08-25 20:05:51 -05:00
Omar Roth
55f8fd0b58 Add note for livestreams that haven't started 2018-08-18 11:47:16 -05:00
Omar Roth
fada57a307 Add geo-bypass for video info 2018-08-13 09:17:28 -05:00
Omar Roth
20e815e757 Convert array constants to tuples 2018-08-12 20:04:13 -05:00
Omar Roth
43b2beeaaf Add 'maxresdefault', 'sddefault', to thumbnails 2018-08-12 09:46:47 -05:00
Omar Roth
430d9347f9 Make 'video_formats' constant 2018-08-12 09:34:26 -05:00
Omar Roth
8b07a7b157 Add 'fps' to '/videos/:id' endpoint 2018-08-12 09:24:59 -05:00
Omar Roth
ce0e4babad Pull 'player' out into seperate component 2018-08-11 10:52:13 -05:00
Omar Roth
2f8716d97f Pull thumbnails into seperate function 2018-08-10 08:50:25 -05:00
Omar Roth
4730497efe Fix autoplay preference 2018-08-08 18:15:35 -05:00
Omar Roth
373c5378b2 Add '/videoplayback' redirect 2018-08-07 11:39:56 -05:00
Omar Roth
baf4e7984b Fix for videos that don't have 'captionTracks' 2018-08-06 20:03:10 -05:00
Omar Roth
6c71227766 Add JSON mapping for captions 2018-08-06 18:25:25 -05:00
Omar Roth
ca7c376874 Add preferred captions 2018-08-06 13:23:36 -05:00
Omar Roth
1e7873d8e9 Add 'time_continue' 2018-08-05 12:35:33 -05:00
Omar Roth
b9315bc534 Major cleanup 2018-08-04 23:14:57 -05:00
Omar Roth
90d661e4a7 Split helpers.cr into multiple files 2018-08-04 15:30:44 -05:00