JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #1  
Old 03.05.2017, 11:50
DollyCMe DollyCMe is offline
Baby Loader
 
Join Date: Nov 2013
Posts: 5
Default Feature request: custom Referer for Vimeo.com

I saw that the ability to enter a custom Referer has been implemented for a couple of hosts. Can it be done for Vimeo, too?

The issue I am trying to work around is the video's uploader has set the clip to be not downloadable, but it can be embedded on a certain domain. The only way to play the video is through this other website, even though that site is just loading an iframe containing a player.vimeo.com page. In a web browser, that iframe is loaded with an HTTP Referer header of the containing page. Without the header, the proper iframe content (with video) does not load.

Or if there is a different way of grabbing the video, please let me know. Thanks!

Last edited by DollyCMe; 03.05.2017 at 11:51. Reason: minor copy edit
Reply With Quote
  #2  
Old 03.05.2017, 12:28
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 60,424
Default

Vimeo already supports this features
append the parameter forced_referer=BASE64Encoded(Parameter)

Please provide example links here or to support@jdownloader.org in case it doesn't work
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 03.05.2017, 14:11
DollyCMe DollyCMe is offline
Baby Loader
 
Join Date: Nov 2013
Posts: 5
Default

Thanks. It's not a URL I comfortable posting.

I appended a base64-encoded referring URL to the player.vimeo.com URL I gave to JDownloader, but it didn't work. JDownloader was stripping the forced_referer parameter but was not sending any Referer, according to the log.

However, even when trying to just use curl to fetch the iframe URL, using -e to set the referer, I was getting a 403.

While trying to debug, I managed to figure out another workaround.

When I looked at the iframe content in my browser's developer tools, I saw there is a script tag after the player div. The script defines a bunch of parameters, and at the top there is a set of CDN URLs for different-quality mp4 clips. Using curl, I fetched one of those URLs (including its token parameter), using -e to set the embedding website as the referer:

curl "mp4-url-with-token" -e "referring-url" -o out.mp4

Last edited by DollyCMe; 03.05.2017 at 14:12. Reason: grammar
Reply With Quote
  #4  
Old 03.05.2017, 15:38
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 60,424
Default

Thanks for the feedback!

Would be nice if you can send examples to support@jdownloader.org so we can check/fix it in JDownloader.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #5  
Old 19.02.2019, 23:04
criso criso is offline
Baby Loader
 
Join Date: Mar 2013
Posts: 5
Default

I have an example:
**External links are only visible to Support Staff****External links are only visible to Support Staff**
Reply With Quote
  #6  
Old 20.02.2019, 11:12
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 60,424
Default

__________________
JD-Dev & Server-Admin
Reply With Quote
  #7  
Old 20.02.2019, 19:55
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 60,424
Default

wait for next plugin update
__________________
JD-Dev & Server-Admin
Reply With Quote
  #8  
Old 20.02.2019, 21:35
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 48,085
Default

I've changed some more stuff - please check and report any errors you find.

-psp-
__________________

Ad-free installers || Werbefreie Installer
Windows Setup<--JD2 BETA-->Linux Setup x86 || Linux Setup x64 || Mac Setup
-----=>Support Chat<=-----
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
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 14:20.
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 - 2019, Jelsoft Enterprises Ltd.