JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 19.12.2017, 19:40
Sebi_Germany Sebi_Germany is offline
JD Alpha
 
Join Date: Aug 2010
Posts: 22
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: 69,349
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 Sebi_Germany is offline
JD Alpha
 
Join Date: Aug 2010
Posts: 22
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: 69,349
Default

You're welcome
__________________
JD-Dev & Server-Admin
Reply With Quote
  #5  
Old 21.02.2021, 20:31
Efreet Efreet is offline
Modem User
 
Join Date: Feb 2021
Posts: 3
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: 56,494
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?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist
Reply With Quote
  #7  
Old 24.02.2021, 03:30
Efreet Efreet is offline
Modem User
 
Join Date: Feb 2021
Posts: 3
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: 56,494
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?
That's true James
Quote:
Originally Posted by James
Die Leute verstehen einfach nicht dass nur weil man mit einer Waffe auch auf Menschen schießen kann dass ein Schützenver​ein kein Ort für Amoklaufide​en ist

Last edited by pspzockerscene; 24.02.2021 at 16:11.
Reply With Quote
  #9  
Old 27.02.2021, 18:13
Efreet Efreet is offline
Modem User
 
Join Date: Feb 2021
Posts: 3
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
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 15:46.
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 - 2021, Jelsoft Enterprises Ltd.