JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 03.05.2017, 11:50
DollyCMe
Guest
 
Posts: n/a
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: 79,290
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
Guest
 
Posts: n/a
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: 79,290
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
Guest
 
Posts: n/a
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: 79,290
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: 79,290
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: 70,922
Default

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

-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 04:25.
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.