VideoHelp Forum




+ Reply to Thread
Results 1 to 9 of 9
  1. Hi guys,

    I need your help with something. A friend of mine accessed the below link to the video but had trouble downloading it. He was able to watch the video, but then when he tried to download it a later, he got an "access denied" warning. He asked me for help in solving this problem. No matter how hard I tried, I couldn't. How can we download the video I shared as the code below? Thanks in advance for your help.

    Code:
    (function(document, player) {
            var config = {
                "cdn_url": "https://f.vimeocdn.com",
                "vimeo_api_url": "api.vimeo.com",
                "request": {
                    "files": {
                        "dash": {
                            "separate_av": true,
                            "streams": [{
                                "profile": 139,
                                "quality": "240p",
                                "id": "dd759216-9016-4ca1-aa40-3873edbe3708",
                                "fps": 25
                            }, {
                                "profile": 164,
                                "quality": "360p",
                                "id": "ca29104a-9ced-4229-8e42-0582566de896",
                                "fps": 25
                            }, {
                                "profile": 165,
                                "quality": "540p",
                                "id": "63b499f2-6434-40de-aa1d-8eed33320cbc",
                                "fps": 25
                            }],
                            "cdns": {
                                "akfire_interconnect_quic": {
                                    "url": "https://8vod-adaptive.akamaized.net/exp=1639410285~acl=%2Fd8ac5340-af2d-48b1-ad43-6c220dda2d37%2F%2A~hmac=78695921d33f4f26e64fae9e26316710d02f30372ee7a86310d4b5448f331cfa/d8ac5340-af2d-48b1-ad43-6c220dda2d37/sep/video/dd759216,ca29104a,63b499f2/master.json?base64_init=1",
                                    "origin": "gcs",
                                    "avc_url": "https://8vod-adaptive.akamaized.net/exp=1639410285~acl=%2Fd8ac5340-af2d-48b1-ad43-6c220dda2d37%2F%2A~hmac=78695921d33f4f26e64fae9e26316710d02f30372ee7a86310d4b5448f331cfa/d8ac5340-af2d-48b1-ad43-6c220dda2d37/sep/video/dd759216,ca29104a,63b499f2/master.json?base64_init=1"
                                },
                                "fastly_skyfire": {
                                    "url": "https://skyfire.vimeocdn.com/1639410285-0x624f9868090e1f640ee2f40e85ba2151d7c16988/d8ac5340-af2d-48b1-ad43-6c220dda2d37/sep/video/dd759216,ca29104a,63b499f2/master.json?base64_init=1",
                                    "origin": "gcs",
                                    "avc_url": "https://skyfire.vimeocdn.com/1639410285-0x624f9868090e1f640ee2f40e85ba2151d7c16988/d8ac5340-af2d-48b1-ad43-6c220dda2d37/sep/video/dd759216,ca29104a,63b499f2/master.json?base64_init=1"
                                }
                            },
                            "streams_avc": [{
                                "profile": 139,
                                "quality": "240p",
                                "id": "dd759216-9016-4ca1-aa40-3873edbe3708",
                                "fps": 25
                            }, {
                                "profile": 164,
                                "quality": "360p",
                                "id": "ca29104a-9ced-4229-8e42-0582566de896",
                                "fps": 25
                            }, {
                                "profile": 165,
                                "quality": "540p",
                                "id": "63b499f2-6434-40de-aa1d-8eed33320cbc",
                                "fps": 25
                            }],
                            "default_cdn": "akfire_interconnect_quic"
                        },
                        "hls": {
                            "separate_av": true,
                            "default_cdn": "akfire_interconnect_quic",
                            "cdns": {
                                "akfire_interconnect_quic": {
                                    "url": "https://8vod-adaptive.akamaized.net/exp=1639410285~acl=%2Fd8ac5340-af2d-48b1-ad43-6c220dda2d37%2F%2A~hmac=78695921d33f4f26e64fae9e26316710d02f30372ee7a86310d4b5448f331cfa/d8ac5340-af2d-48b1-ad43-6c220dda2d37/sep/video/dd759216,63b499f2,ca29104a/master.m3u8",
                                    "origin": "gcs",
                                    "avc_url": "https://8vod-adaptive.akamaized.net/exp=1639410285~acl=%2Fd8ac5340-af2d-48b1-ad43-6c220dda2d37%2F%2A~hmac=78695921d33f4f26e64fae9e26316710d02f30372ee7a86310d4b5448f331cfa/d8ac5340-af2d-48b1-ad43-6c220dda2d37/sep/video/dd759216,63b499f2,ca29104a/master.m3u8"
                                },
                                "fastly_skyfire": {
                                    "url": "https://skyfire.vimeocdn.com/1639410285-0x624f9868090e1f640ee2f40e85ba2151d7c16988/d8ac5340-af2d-48b1-ad43-6c220dda2d37/sep/video/dd759216,63b499f2,ca29104a/master.m3u8",
                                    "origin": "gcs",
                                    "avc_url": "https://skyfire.vimeocdn.com/1639410285-0x624f9868090e1f640ee2f40e85ba2151d7c16988/d8ac5340-af2d-48b1-ad43-6c220dda2d37/sep/video/dd759216,63b499f2,ca29104a/master.m3u8"
                                }
                            }
                        },
                        "progressive": [{
                            "profile": "139",
                            "width": 422,
                            "mime": "video/mp4",
                            "fps": 25,
                            "url": "https://vod-progressive.akamaized.net/exp=1639410285~acl=%2Fvimeo-prod-skyfire-std-us%2F01%2F2449%2F16%2F412245557%2F1771266059.mp4~hmac=e677995bb0e081aec174b1f3f3362d65a491d9598217709a1051efaff95285b8/vimeo-prod-skyfire-std-us/01/2449/16/412245557/1771266059.mp4",
                            "cdn": "akamai_interconnect",
                            "quality": "240p",
                            "id": "dd759216-9016-4ca1-aa40-3873edbe3708",
                            "origin": "gcs",
                            "height": 240
                        }, {
                            "profile": "165",
                            "width": 846,
                            "mime": "video/mp4",
                            "fps": 25,
                            "url": "https://vod-progressive.akamaized.net/exp=1639410285~acl=%2Fvimeo-prod-skyfire-std-us%2F01%2F2449%2F16%2F412245557%2F1771266038.mp4~hmac=0e7451bee714e7ed7dcacfa92cf33e409c49f785958defdb51e3f6e19138232b/vimeo-prod-skyfire-std-us/01/2449/16/412245557/1771266038.mp4",
                            "cdn": "akamai_interconnect",
                            "quality": "540p",
                            "id": "63b499f2-6434-40de-aa1d-8eed33320cbc",
                            "origin": "gcs",
                            "height": 482
                        }, {
                            "profile": "164",
                            "width": 632,
                            "mime": "video/mp4",
                            "fps": 25,
                            "url": "https://vod-progressive.akamaized.net/exp=1639410285~acl=%2Fvimeo-prod-skyfire-std-us%2F01%2F2449%2F16%2F412245557%2F1771266053.mp4~hmac=9b6f345c7743edfcd3c397ce2780869cce216a428f57cc6872c333b4f1964404/vimeo-prod-skyfire-std-us/01/2449/16/412245557/1771266053.mp4",
                            "cdn": "akamai_interconnect",
                            "quality": "360p",
                            "id": "ca29104a-9ced-4229-8e42-0582566de896",
                            "origin": "gcs",
                            "height": 360
                        }]
                    },
                    "lang": "en",
                    "sentry": {
                        "url": "https://6f5f8e1cecfa40fb850f578b69fc1705@o189131.ingest.sentry.io/1297650",
                        "enabled": false,
                        "debug_enabled": true,
                        "debug_intent": 0
                    },
                    "ab_tests": {
                        "webvr": {
                            "track": false,
                            "data": {},
                            "group": false
                        },
                        "chromecast": {
                            "track": false,
                            "data": {},
                            "group": false
                        },
                        "cmcd": {
                            "track": false,
                            "data": {},
                            "group": false
                        },
                        "llhls_timeout": {
                            "track": true,
                            "data": {},
                            "group": false
                        },
                        "stats_fresnel": {
                            "track": false,
                            "data": {},
                            "group": true
                        }
                    },
                   
                    "cookie_domain": ".vimeo.com",
                    "timestamp": 1639401213,
                    "gc_debug": {
                        "bucket": "vimeo-player-debug"
                    },
                    "expires": 8772,
                 
                       
                    },
                    "currency": "TRY",
                    "session": "8ec9e008afa4654979e9df41c7cbe9bd5e9a98ff1639401213",
                    "cookie": {
                        "scaling": 1,
                        "volume": 1.0,
                        "quality": null,
                        "hd": 0,
                        "captions": null
                    },
                    "build": {
                        "backend": "1.46.8",
                        "js": "3.46.7"
                    },
                    "urls": {
                        "barebone_js": "https://f.vimeocdn.com/p/3.46.7/js/barebone.js",
                        "test_imp": "https://fresnel.vimeocdn.com/add/player-test-impression",
                        "js_base": "https://f.vimeocdn.com/p/3.46.7/js/",
                        "fresnel": "https://fresnel.vimeocdn.com/add/player-stats",
                        "js": "https://f.vimeocdn.com/p/3.46.7/js/player.js",
                        "proxy": "https://player.vimeo.com/static/proxy.html",
                        "mux_url": "https://f.vimeocdn.com/p/external/mux.js",
                        "fresnel_mimir_inputs_url": "https://fresnel-events.vimeocdn.com/add/mimir_inputs",
                        "fresnel_chunk_url": "https://fresnel-events.vimeocdn.com/add/chunk_downloads",
                        "three_js": "https://f.vimeocdn.com/p/external/three.rvimeo.min.js",
                        "vuid_js": "https://f.vimeocdn.com/js_opt/modules/utils/vuid.min.js",
                        "fresnel_manifest_url": "https://fresnel-events.vimeocdn.com/add/playback_manifest",
                        "chromeless_css": "https://f.vimeocdn.com/p/3.46.7/css/chromeless.css",
                        "player_telemetry_url": "https://player-telemetry.vimeo.com/player-events",
                        "chromeless_js": "https://f.vimeocdn.com/p/3.46.7/js/chromeless.js",
                        "css": "https://f.vimeocdn.com/p/3.46.7/css/player.css"
                    },
                    "signature": "75018351e7d9d43e300de8629ae5af1f",
                    "flags": {
                        "dnt": 0,
                        "preload_video": "metadata_on_hover",
                        "plays": 1,
                        "partials": 1,
                        "autohide_controls": 0
                    },
                    "country": "TR",
                    "file_codecs": {
                        "hevc": {
                            "hdr": [],
                            "sdr": [],
                            "dvh1": []
                        },
                        "av1": [],
                        "avc": ["dd759216-9016-4ca1-aa40-3873edbe3708", "63b499f2-6434-40de-aa1d-8eed33320cbc", "ca29104a-9ced-4229-8e42-0582566de896"]
                    }
                },
                "player_url": "player.vimeo.com",
                "video": {
                    "version": {
                        "current": null,
                        "available": [{
                            "is_current": 1,
                            "id": 119305179,
                            "file_id": 1771265827
                        }]
                    },
                    "height": 482,
                    "duration": 2193,
                    "thumbs": {
                        "960": "https://i.vimeocdn.com/video/884570620-9ba90b5511fab9ff16270d4bf15333b89d47488220c76f4b6bd18ad23310022b-d_960",
                        "640": "https://i.vimeocdn.com/video/884570620-9ba90b5511fab9ff16270d4bf15333b89d47488220c76f4b6bd18ad23310022b-d_640",
                        "base": "https://i.vimeocdn.com/video/884570620-9ba90b5511fab9ff16270d4bf15333b89d47488220c76f4b6bd18ad23310022b-d"
                    },
                    "owner": {
                        "account_type": "pro",
                        "name": "Alan E\u011fitimi",
                        "img": "https://i.vimeocdn.com/portrait/10150305_60x60.jpg",
                        "url": "https://vimeo.com/user44130105",
                        "img_2x": "https://i.vimeocdn.com/portrait/10150305_120x120.jpg",
                        "id": 44130105
                    },
                    "id": 412245557,
                    "embed_code": "<iframe title=\"vimeo-player\" src=\"https://player.vimeo.com/video/412245557?h=05e36c5ed4\" width=\"640\" height=\"364\" frameborder=\"0\" allowfullscreen><\/iframe>",
                    "title": "Ders_8_Ara\u015ft\u0131rma makalesinin b\u00f6l\u00fcmleri",
                    "share_url": "https://vimeo.com/412245557",
                    "width": 846,
                    "embed_permission": "whitelist",
                    "fps": 25.0,
                    "spatial": 0,
                    "live_event": null,
                    "allow_hd": 1,
                    "hd": 0,
                    "lang": null,
                    "default_to_hd": 1,
                    "url": null,
                    "privacy": "disable",
                    "bypass_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJjbGlwX2lkIjo0MTIyNDU1NTcsImV4cCI6MTYzOTQxMDAxMn0.XLcX_hEiIUYeOEd_VCUBHvVjsP2OMKpPIwEa3-6s0Cs",
                    "unlisted_hash": null
                },
                "user": {
                    "team_origin_user_id": 0,
                    "liked": 0,
                    "account_type": "none",
                    "vimeo_api_client_token": null,
                    "vimeo_api_interaction_tokens": null,
                    "team_id": 0,
                    "watch_later": 0,
                    "owner": 0,
                    "id": 0,
                    "mod": 0,
                    "private_mode_enabled": 0,
                    "logged_in": 0
                },
                "embed": {
                    "autopause": 1,
                    "playsinline": 1,
                    "settings": {
                        "fullscreen": 1,
                        "byline": 0,
                        "like": 0,
                        "playbar": 1,
                        "title": 1,
                        "color": 0,
                        "speed": 1,
                        "watch_later": 0,
                        "share": 0,
                        "scaling": 1,
                        "spatial_compass": 0,
                        "collections": 0,
                        "info_on_pause": 0,
                        "portrait": 0,
                        "logo": 0,
                        "embed": 0,
                        "badge": 0,
                        "spatial_label": 0,
                        "volume": 1
                    },
                    "color": "0d7590",
                    "texttrack": "",
                    "on_site": 0,
                    "app_id": "",
                    "muted": 0,
                    "dnt": 0,
                    "player_id": "",
                    "api": null,
                    "editor": false,
                    "context": "embed.main",
                    "keyboard": 1,
                    "outro": "image",
                    "transparent": 1,
                    "log_plays": 1,
                    "quality": null,
                    "time": 0,
                    "loop": 0,
                    "autoplay": 0
                },
                "view": 1,
                "vimeo_url": "vimeo.com"
            };
            if (!config.request) {
                return;
            }
            if (typeof config.request === 'object' && 'error' in config.request) {
                if ('html' in config.request) {
                    document.documentElement.innerHTML = config.request.html.replace(/&lt;/g, '<').replace(/&gt;/g, '>');
                }
                return;
            }
            var isIframe = (function() {
                try {
                    return window.self !== window.top;
                } catch (e) {
                    return true;
                }
            }());
            if (!isIframe && /twitter/i.test(navigator.userAgent) && config.video.url) {
                window.location = config.video.url;
            }
            if (config.request.lang) {
                document.documentElement.setAttribute('lang', config.request.lang);
            }
            var fullscreenSupport = 'exitFullscreen' in document || 'webkitExitFullscreen' in document || 'webkitCancelFullScreen' in document || 'mozCancelFullScreen' in document || 'msExitFullscreen' in document || 'webkitEnterFullScreen' in document.createElement('video');
            var inlineSvgSupport = (function() {
                var div = document.createElement('div');
                div.innerHTML = '<svg/>';
                return (div.firstChild && div.firstChild.namespaceURI) === 'http://www.w3.org/2000/svg';
            }());
            var windowsPhone = /MSIE 9/.test(navigator.userAgent) && /Windows Phone/.test(navigator.userAgent);
            var IE10 = /IE 10/.test(navigator.userAgent);
            var usePlayer = fullscreenSupport || IE10 || windowsPhone;
            var firstScript = document.getElementsByTagName('script')[0];
            var script = document.createElement('script');
            var jsDone = false;
            var playerObject = false;
            if (!inlineSvgSuppor…
    Last edited by relaxy; 28th Dec 2021 at 03:12.
    Quote Quote  
  2. but then when he tried to download it a later,
    The links are probably expired. Also, make sure your request headers match what the browser sends when it does it.
    Quote Quote  
  3. yes. instead of posting all that useless code, write the link to your video ...
    Quote Quote  
  4. Originally Posted by lomero View Post
    yes. instead of posting all that useless code, write the link to your video ...
    Hi there,

    Since this video is a video watched by logging in, the web page address has no meaning. The important thing is that we have someone to help us how to download this video:

    https://vod-progressive.akamaized.net/exp=1639410285~acl=%2Fvimeo-prod-skyfire-std-us%...1771266038.mp4
    Quote Quote  
  5. Originally Posted by darkw4v3 View Post
    but then when he tried to download it a later,
    The links are probably expired. Also, make sure your request headers match what the browser sends when it does it.
    Hi darkw4v3,

    Even if the links expired, we are not able to download this file? I think there must be a solution for this because the file location does not change, only the link expires and the hmac value changes. Is there a way to disable them and access the file? Can youtube-dl or ffmpeg provide a solution for this?
    Kindly,
    Quote Quote  
  6. Originally Posted by LZAA View Post
    URL&Access?
    Hi LZAA,
    Unfortunately I am not authorized to access the web page. A username and password are required to enter the web page. I do not have this info. Only the code and mp4 files I have given above, obtained from the web page, have address information. Therefore, we have no choice but to try to download the file with the data I shared above.
    Quote Quote  
  7. Will not work.
    Quote Quote  
  8. File is not on server anymore or link/token expired: 410 Gone
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!