JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 19.12.2017, 19:40
Sebi_Germany
Guest
 
Posts: n/a
Default How to use vimeo.com plugin with referer

Hello everybody,

I am trying to download the vimeo video from **External links are only visible to Support Staff****External links are only visible to Support Staff**

The url is **External links are only visible to Support Staff****External links are only visible to Support Staff**

Problem is, that the vimeo url only works within the site, so I guess it needs a referer link. Anyone know how to download within JDownloader2?

All the best
Sebi
Reply With Quote
  #2  
Old 19.12.2017, 19:50
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,286
Default

Append refererURL as base64 encoded &forced_referer=base64(URL)
base64encode.org
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 19.12.2017, 20:05
Sebi_Germany
Guest
 
Posts: n/a
Default

Thanks a lot for your help!! :-)
Reply With Quote
  #4  
Old 19.12.2017, 20:07
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,286
Default

You're welcome
__________________
JD-Dev & Server-Admin
Reply With Quote
  #5  
Old 21.02.2021, 20:31
Efreet Efreet is offline
Junior Loader
 
Join Date: Feb 2021
Posts: 11
Default How to get this referer...?

There is that link with a theatre play online:
**External links are only visible to Support Staff****External links are only visible to Support Staff**
At the bottom: "WSTYD online" (well...available for 90 min or so).

It opens: **External links are only visible to Support Staff****External links are only visible to Support Staff**

wich has a short source and colorbox.js (I think somehow involved in the player window) and vimeo link: **External links are only visible to Support Staff****External links are only visible to Support Staff**

Pasted in browser - it says that "Because of its privacy settings, this video cannot be played here." JD asks for password.
I tried to paste both links above, but none of them work.
What should I paste as a password/referer?

Thanks,
Efreet
Reply With Quote
  #6  
Old 22.02.2021, 15:33
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,922
Default

Hi,

I'm unable to play this video in browser.
Usually such videos are just restricted by referer in which case it would be enough to just let JD deep-crawl the 2nd "wspolczesny.pl" URL linked in your post.
Can you play that exact video in your browser?
Is it maybe restricted to polish users/IPs only?

-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
  #7  
Old 24.02.2021, 03:30
Efreet Efreet is offline
Junior Loader
 
Join Date: Feb 2021
Posts: 11
Unhappy

Well, situation is not that simply.

Because links are masked (actually - really don't know why), and I don't won't to violate some rules making them tricky visible, but also wanting to make it more understandable for the broader publishion, I'll explain it one more time more clearly, I believe.

There is link no. 1: **External links are only visible to Support Staff****External links are only visible to Support Staff**
It has a button that allows to play the play (pun intended).
It follows (regular href) to link no. 2: **External links are only visible to Support Staff****External links are only visible to Support Staff**
But when clicked the button, this no. 2 link does not open in a new tab/window, neither in the same tab/window.
It opens in some kind of "inner window" (blur transparent outer and a stream in the center).
I believe it's some frame (iframe?) or sth, in which the link no. 2 is being opend (I'm almost sure it has sth to do with colorbox.js - but I may be wrong).

Link no. 2 opened in new tab shows and does nothing, but has a source code:

Code:
<iframe id="video-player" src="" allow="accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="" title="Teatr Współczesny - online" frameborder="0" width="100%" height="100%"></iframe>
<script src="/static/js/dayjs.min.js"></script>
<script src="/static/js/dayjs.utc.js"></script>
<script>dayjs.extend(window.dayjs_plugin_utc)</script>
<script>
  $(function()
  {
        $("#video-player").attr('src', '**External links are only visible to Support Staff**Magenta">[**VIMEO link no. 3**]?badge=0');
            $.colorbox.close();
    setTimeout(function()
    {
      window.location.reload(); 
    }, 1915);
      });
</script>
As you see, there are .js refering to time (undelined; will get to this later), this colorbox (bold) and regular vimeo link no. 3 (coloured): **External links are only visible to Support Staff****External links are only visible to Support Staff**

So - in my opinion link no. 1 opens a frame 'inside this colorbox' within link no. 2 which calls vimeo stream with a referer.

This link no. 1 button now is disabled. When enabled, link no. 2's source had some function refereing to those time .jss which allowed it to be played durind some 2 hours; if outside those hours - this colorbox.close was evoked.

But link no. 3 is still valid: as the stream still is at the vimeo server. When put into fresh tab, shows:
"Sorry, Because of its privacy settings, this video cannot be played here." Fine, it means it needs a referer.

In JD the deep crawl didn't find the stream - while vimeo was being called by the other page (link no. 2).
When put this link no. 3 it found a stream, but asked for a password (I've read that's a referer indeed)
- the problem is I was trying to put as a passowrd both links no. 1 or no. 2 - not succeeding.
Later on I found, it shall be base64 coded?

Well...the stream is still available on vimeo server - if you have any idea, I'd appreciate.
Reply With Quote
  #8  
Old 24.02.2021, 14:54
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,922
Default

Sorry I'm unable to make it work here but simply because their website doesn't work.
JD has handling for it.
Also the "password dialog" doesn't ask for a password in this case: It should ask for a Referer.
Either way you can override it by doing e.g. this:
player.vimeo.com/video/123456789?forced_referer=aHR0cHM6Ly93c3BvbGN6ZXNueS5wbC90ZWF0ci1vbmxpbmU
(Referer = base64 encoded - you can use HEX encoding as well)

If there is any way I could get that website working I could probably help you.
Do you have other example URLs of embedded vimeo content of this website?

As a last workaround, you could always use this manual download method.

-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?

Last edited by pspzockerscene; 24.02.2021 at 16:11.
Reply With Quote
  #9  
Old 27.02.2021, 18:13
Efreet Efreet is offline
Junior Loader
 
Join Date: Feb 2021
Posts: 11
Default Additional dates

The play I'm talking about is going to be available again:
today (27.02.2021.) at 21:00 (9 pm) UTC+1
and
1.03.2021. at 19:00 (7 pm) UTC+1
Reply With Quote
  #10  
Old 01.03.2021, 19:07
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,922
Default

I'll try to check it later this day.
Have you checked my linked manual download method instructions?
As said, this should always work as a workaround/fallback.

-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
  #11  
Old 02.03.2021, 16:28
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,922
Default

Sorry I failed to check it.
As said if there is a live example to work with we might be able to help.

As already said last time, you can additionally try this manual download method.

-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
  #12  
Old 20.03.2021, 18:53
Efreet Efreet is offline
Junior Loader
 
Join Date: Feb 2021
Posts: 11
Default

Hi,

sorry for not responding for long - I am quite busy nowadays.
I couldn't check your manual method last time, because I... mixed the hours.
But - since today we have a lockdown again, after a few weeks opening, so theaters prepared plays, but will show it online. So again that one above (and another one) are/will be available in days again.

So the link is: **External links are only visible to Support Staff****External links are only visible to Support Staff**
and here you can see on is going to be in an hour (19 = 7pm - UTC+1), another one 2021-03-24 19:00 and the one mentioned in the beginning: Najbliższy pokaz online: 2021-03-26 19:00 (UTC+1 for all).

Hope I will find a time (not today though) to check your manual possibility, and you to check, what should be input as a pass/reference.

P.S. - Do you have some social messanger? So we could discuss online one day perhaps?
Reply With Quote
  #13  
Old 20.03.2021, 19:01
Efreet Efreet is offline
Junior Loader
 
Join Date: Feb 2021
Posts: 11
Default

Oh, and there's a French Movie Festival - for the next week - 8 movies.

**External links are only visible to Support Staff****External links are only visible to Support Staff**

Haven't tried to download them yet - before it was easy, but they changed streaming method to these blob: links, which I can't figure out how to make it automatically (I can just download trunks - wich are a few hundreds of them - so useless). Wonder if you can.
Reply With Quote
  #14  
Old 20.03.2021, 20:42
Efreet Efreet is offline
Junior Loader
 
Join Date: Feb 2021
Posts: 11
Default

Ah, no - you're way won't work, since it's window in the window - that's why vdh doesn't find any link.
All I did is that I found the link for the video: **External links are only visible to Support Staff****External links are only visible to Support Staff**
called from **External links are only visible to Support Staff****External links are only visible to Support Staff**
Reply With Quote
  #15  
Old 22.03.2021, 15:25
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,922
Default

I'm unable to play this video here.
Your .pl URL leads to an empty website here.

I won't be able to help you unless I find a way to play the video here...

-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
  #16  
Old 24.03.2021, 23:31
Efreet Efreet is offline
Junior Loader
 
Join Date: Feb 2021
Posts: 11
Default

Try to read carefully, what I wrote before:
the main pages calls subpage (what you called 'an empty page') - wich itslef evokes vimeo player. That's why vdh can't detect any stream.

So now, to play a play: go to **External links are only visible to Support Staff****External links are only visible to Support Staff**
There are bunch of plays, which are available to play on particular time.

E.g. tomorrow, on Thursday, the 25th of March, at 19:00 (7 pm) UTC+1 a button "Watch online" ("Oglądaj online") shall appear for approx. half an hour beneath "KUCHNIA CAROLINE".

The next day, Friday, the 26th of March, at 19:00 (7 pm) UTC+1 a button "Watch online" ("Oglądaj online") shall appear under the "WSTYD".

Now I see, there's "ROLE KRZYSZTOFA KOWALEWSKIEGO" available all the time until the 20th of April (EDIT: I checked and they moved it to YT, so the vimeo mystery doesn't apply to this one).

I believe, that in those two vimeo cases all what is missing, is just to resolve, which link one shall use as a password/reference in jD. (or any other solution to download the stream).
I think I'll be online watching them, at least tomorrow ("KUCHNIA CAROLINE"), so I try to check it here for you to converse (until you have some social messanger, might be faster).

Cheers.
Reply With Quote
  #17  
Old 25.03.2021, 12:17
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,922
Default

I did understand your posts but I'm not there to these times.
If you really want to get it working, you can try to provide the following data for me:
1. Use Chrome, open an empty tab and open the developer console.
2. Open the website and navigate to that vimeo video -> Play it!
3. Save a HAR dump of that network traffic for me and attach it to your next reply as a .zip file:
developer.chrome.com/docs/devtools/network/reference/

-psp-
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 21:21.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.