viki
goodluckspock
2019-06-16/12:03
Hi,

I love Savetube. Great work!

I am specifically looking for a way to download HD videos from viki while I am logged in. I have a viki pass and can watch videos on viki in HD, but not download them.

I see that you're using the viki api to get the streams, but of course that only returns LQ links.

I already looked in detail at your viki download mechanism and experimented a bit with the streams.json query. (To no effect.)

I wonder if it's possible to make that return the HD stream links as well if you're logged in. I couldn't figure out what other parameters to use to make it give up that information - and maybe it's not possible at all?

I just thought I'd ask. I'd be willing to help/experiment with my user id and session etc. whatever might be needed to get the hd links as well.

Best Regards,
Fangirlishness (goodluckspock)

sebaro
2019-06-21/19:08
Readded HLS.

For subs, for now, I've added an array, user can add the needed languages.
I don't know about the completeness, I assume the user will want the subs even if not complete. And I can't add them all.

Also YouTube changed the signature code, can you check if the update works (VIVO ones)? Thanks.

goodluckspock
2019-06-22/01:34
Yes, good idea with the array. I didn't think of the ones with a lot of languages.

I added the percentage code:

// Subtitles
var vkSubtitles = ['en', 'es'];
var vkSubtitle, vkSubtitleParser, vkPercentage;
for (var i = 0; i < vkSubtitles.length; i++) {
vkSubtitleParser = '"srclang":"' + vkSubtitles[i] + '".*?"src":"(.*?)".*?"percentage":(.*?),';
vkSubtitle = vkVideosContent.match(vkSubtitleParser);
vkPercentage = (vkSubtitle) ? vkSubtitle[2] : '?';
vkSubtitle = (vkSubtitle) ? vkSubtitle[1] : null;
if (vkSubtitle) vkVideoList[vkSubtitles[i].toUpperCase() + ' Subtitles WebVTT ' + vkPercentage + '%'] = vkSubtitle;
}


I also tested YT, seems to work fine!

sebaro
2019-06-22/09:32
Your change breaks the extension, WebVTT must be at the end.
For now I've updated with English only, we can talk about this, languages and percentage.

goodluckspock
2019-06-22/11:43
oops, i'm sorry. I tested it and it looked ok on my side.

Of course, if there was a way to select the languages that work without manually editing the script, that would be better. But otherwise, I'm very happy with the results overall. is there anything else open that we need to discuss?

sebaro
2019-06-22/15:05
Without editing the script, the only way is to show a checkbox window with all languages and the user can check them. But for now I don't plan on doing this. I can add most popular from https://www.viki.com/explore (All Subtitles/Popular) or if you know any viewers statistics per country.

Thanks for all your help, let me know if you find any issues or have other requests.

goodluckspock
2019-06-23/15:08
I don't really know anything about the most popular sub languages, I've thought about it, and English is by far the most important, so this is really fine as it is.

Thank you! You know how to contact me, too.

Dailymotion
Hugh
2019-06-16/13:40
This might not be an error but I'm stumped as I get nothing. No 404, no video, no video removed, nothing. Does this private video work?

https://www.dailymotion.com/video/k7eYMEsLnDBvaatS0Eq

Hugh
2019-06-16/13:42
Delete the above, it's rejected video, just viewtube doesn't state so.

sebaro
2019-06-16/17:14
I'll check for this type of error on next update.

sebaro
2019-06-22/09:07
The update should fix this.

ViewTube
Alex
2019-06-21/15:55
Hi Sebaro,

ViewTube does not work on some YouTube videos.

Example:
https://www.youtube.com/watch?v=CVTUaYu-zFA

Thank you.

sebaro
2019-06-21/18:44
They changed the signature.

Alex
2019-06-22/02:01
Does it mean that ViewTube and SaveTube will never work on these videos?

sebaro
2019-06-22/09:07
This changes often, but I get the changes later than other users (maybe my location or because I don't use it very much). The update should fix this.

Alex
2019-06-22/13:26
Thank you, sebaro.
They keep breaking it and you keep fixing it. :)

youtube
fakat
2019-06-22/06:44
Hi, I've been using savetube for a while now, it's been fantastic. Everything was working fine until yesterday. However, suddenly it's stopped working on all youtube videos for me today, including stuff that I've successfully downloaded recently. I'm seeing "SaveTube: Couldn't get any video. Please report it here." message on the download-tab instead.

sebaro
2019-06-22/09:07
Try the update.

SD
Hugh
2019-06-23/18:47
Getting a txt trying to use the no audio standard definition video mp4 option.

https://www.youtube.com/watch?v=NmPBu2DCn_Q

All the other mp4 options are functioning correctly.

Hugh
2019-06-23/18:48
I should mention I'm using the latest viewtube.

sebaro
2019-06-23/22:22
There are two types of streams in the DASH format, those that have "source=youtube" and other with "source=yt_otf", the latter are fragments only and the stream won't work because there's a stream for each fragment. So I can't make it work with my scripts.