#1
|
|||
|
|||
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 |
#2
|
||||
|
||||
Append refererURL as base64 encoded &forced_referer=base64(URL)
base64encode.org
__________________
JD-Dev & Server-Admin |
#3
|
|||
|
|||
Thanks a lot for your help!! :-)
|
#4
|
||||
|
||||
You're welcome
__________________
JD-Dev & Server-Admin |
#5
|
|||
|
|||
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 |
#6
|
||||
|
||||
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 |
#7
|
|||
|
|||
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> 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. |
#8
|
||||
|
||||
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 Last edited by pspzockerscene; 24.02.2021 at 16:11. |
#9
|
|||
|
|||
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 |
#10
|
||||
|
||||
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 |
#11
|
||||
|
||||
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 |
#12
|
|||
|
|||
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? |
#13
|
|||
|
|||
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. |
#14
|
|||
|
|||
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** |
#15
|
||||
|
||||
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 |
#16
|
|||
|
|||
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. |
#17
|
||||
|
||||
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 |
Thread Tools | |
Display Modes | |
|
|