#1
|
|||
|
|||
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 |
#2
|
||||
|
||||
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 |
#3
|
|||
|
|||
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 |
#4
|
||||
|
||||
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 |
#5
|
|||
|
|||
I have an example:
**External links are only visible to Support Staff****External links are only visible to Support Staff** |
#6
|
||||
|
||||
__________________
JD-Dev & Server-Admin |
#7
|
||||
|
||||
wait for next plugin update
__________________
JD-Dev & Server-Admin |
#8
|
||||
|
||||
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 |
Thread Tools | |
Display Modes | |
|
|