Commit Graph

2138 Commits

Author SHA1 Message Date
4a6e920d0e Use new youtube API to fetch channel videos (#1355)
* Use new API to fetch videos from channels

This mirrors the process used by subscriptions.gir.st. The old API is
tried first, and if it fails then the new one is used.

* Use the new API whenever getting videos from a channel

I created the get_channel_videos_response function because now instead
of just getting a single url, there are extra steps involved in getting
the API response for channel videos, and these steps don't need to be
repeated throughout the code.

The only remaining exception is the bypass_captcha function, which still
only makes a request to the old API. I don't know whether this code
needs to be updated to use the new API for captcha bypassing to work
correctly.

* Correctly determine video length with new api

* Remove unnecessary line
2020-09-02 20:28:57 +00:00
13f58d602f Replace omarroth with iv-org where applicable (#1353)
Fixes #1353
2020-08-25 16:07:16 +00:00
45fda595c3 Merge pull request #1346 from resttime/fix-docker-init
Use bash in the docker init shebang
2020-08-21 12:52:15 +00:00
1f15ea0bd8 Merge pull request #1197 from iv-org/comradekingu-patch-1
TRANSLATION file for l10n
2020-08-19 19:50:15 +00:00
99eebfa10f Merge pull request #1339 from stephane-r/made-with-invidious-holoplay
Adding HoloPlay application on Made with Invidious README
2020-08-19 19:47:40 +00:00
ccbbe81141 Use bash in the shebang 2020-08-19 13:36:35 -05:00
ad2da5969e Adding HoloPlay application on Made with Invidious README 2020-08-15 16:27:47 +02:00
2ce82f3da5 Merge pull request #1335 from szepeviktor/patch-1
Fix CI badge
2020-08-14 11:59:45 +02:00
6bc9479e00 Update .travis.yml 2020-08-14 11:51:44 +02:00
740e52229f Merge pull request #1336 from GauthierPLM/dependency-update
Update lsquic.cr dependency to use iv-org version
2020-08-14 11:22:22 +02:00
1efd2390e3 Update lsquic.cr dependency to use iv-org version 2020-08-14 11:18:04 +02:00
564328abf9 Fix CI badge 2020-08-13 08:12:40 +02:00
926f819e31 Merge pull request #1218 from SuperSandro2000/patch-1
Add RAM requirement
2020-08-05 20:53:31 +02:00
45f0b9ac45 Update README.md
Co-authored-by: Perflyst <mail@perflyst.de>
2020-08-05 20:16:53 +02:00
9a82e86ce9 Merge pull request #1254 from SuperSandro2000/patch-2
Update database automatically in Docker
2020-08-03 17:11:50 +02:00
0ad974c57b Merge pull request #1211 from SuperSandro2000/improve-postgres
Improve postgres Dockerfile
2020-08-03 17:09:51 +02:00
62f015fc34 Fix playlist export for playlists with more than 100 videos 2020-07-28 17:21:39 -04:00
b508787037 Fix spec 2020-07-26 15:29:03 -04:00
176ef19cca Update mixes link 2020-07-26 11:50:26 -04:00
db83ede73c Add missing default for ConfigPreferences 2020-07-26 11:09:45 -04:00
452d1e8307 Fix warnings with latest version of Crystal 2020-07-26 10:59:31 -04:00
92f337c67e Add playlist import/export 2020-07-26 10:59:31 -04:00
1e4022680a Fix playlists with one video 2020-07-26 10:59:31 -04:00
e16d951da0 Create postgres user to avoid fatal warning 2020-07-25 21:51:58 +02:00
7b2b19b4ba Remove empty Dockerfile 2020-07-25 21:51:58 +02:00
8ebfaed546 Remove no longer needed POSTGRES_HOST_AUTH_METHOD 2020-07-25 21:51:57 +02:00
0b52d52f4a Use inbuilt init script 2020-07-25 21:51:57 +02:00
6901d10d54 Set magic ENV varialbes for user, default DB
instead of doing it ourselves
2020-07-25 21:51:39 +02:00
7caa2ae9bc Merge pull request #1295 from jwilk-forks/readme
README: Fix and update URLs
2020-07-22 22:23:59 +02:00
cc50859912 README: update GitHub repo URLs
Follow the https://github.com/omarroth/invidious ->
https://github.com/iv-org/invidious redirect.
2020-07-22 19:12:39 +02:00
6c16780144 README: fix changelog URL 2020-07-22 19:09:18 +02:00
b5f79444f9 Fix optional value in data extractor 2020-07-21 20:11:13 -04:00
b73c6e94c0 Bump docker dependencies 2020-07-19 22:26:41 -04:00
07616a9d34 Bump lsquic version to v2.18.1 2020-07-19 11:56:28 -04:00
e88ee26e3b Requested README changes made 2020-07-13 13:22:01 +02:00
7422c38e66 README reworked 2020-07-13 10:34:22 +02:00
8ed1c77e47 Skip DASH streams segmented by URL 2020-07-04 14:17:46 -04:00
8c65b8c16f Update playlists to support polymer redesign 2020-06-24 22:19:36 -04:00
1f435522b4 Fix cast from nil in short_description 2020-06-17 19:22:28 -04:00
eb880e8de0 Update database automatically in Docker
Applying the migrations scripts by hand in Docker is not that easy and most people expect this to automatically happen.
2020-06-17 09:59:21 +02:00
83b1d80a5b Fix signature URL regex 2020-06-16 19:21:29 -05:00
529aff3126 Update peertubeify url to new location (#1227)
On the URL specified it says: "Project 'Ealhad/peertubeify' was moved to 'Cha_deL/peertubeify'. Please update any links and bookmarks that may still have the old path."
2020-06-16 18:05:17 -05:00
bf2bd519eb Switch to official crystallang alpine image (#1247)
* Switch to official crystal-lang alpine image
2020-06-16 18:04:41 -05:00
38c7dda00f Fix genreUrl 2020-06-16 17:51:49 -05:00
056e7432bd Update channel playlists to use polymer 2020-06-16 17:51:35 -05:00
074497b0f6 Add migration script for polymer redesign 2020-06-15 18:20:31 -05:00
1eca969cf6 Add support for polymer redesign 2020-06-15 18:18:04 -05:00
c1cbdae5ee Make HOST_URL constant 2020-06-15 18:13:14 -05:00
4d4b6a2fa0 Remove top page 2020-06-15 18:11:36 -05:00
d30a972a90 Support Crystal 0.35.0 2020-06-15 18:11:06 -05:00