Original link: https://justyy.com/archives/62600
Parsing video URL: Denied by Referer ACL
During this period of time, many netizens privately messaged me saying that the video address given by the Weibo video downloader I got cannot be used, and a 403 error will be displayed after the link is opened:
Error: Access Denied 403 Forbidden - You do not have permission to access URLs on this server. Rejected by Referer ACL. CDN request ID driven by Tengine: 4f85b09916894965379787892e ERROR: ACCESS DENIED 403 Forbidden - You don't have permission to access the URL on this server. denied by Referer ACL Powered by Tengine CDN Request Id: 4f85b09916894965379787892e
The reason why the video cannot be downloaded shows 403/Denied by Referer ACL
In order to prevent hotlink protection (reduce the number of server requests and reduce the load) by Tencent Cloud or Alibaba Cloud. The Denied by Referer ACL shown here is relatively simple to judge whether the request is valid by judging whether the HTTP request header (Head) contains the specified Referer value. It’s a pity that there is no better way to add the Referer value in the request header on the client side, but you can forward the request in the server and add the request by the way, for example, through this PHP code.
How to solve the error of 403 rejected by Referer ACL?
Here’s how you can fix 403 Forbidden errors by redirecting the original link and adding the referrer/Referer in the request header. Then paste the link in a new tab – check out the video below.
Related video download: How to download and save Sina Weibo Miaopai video?
English: How to Solve 403 Forbidden Error (Denied by Referer ACL) when Downloading Weibo Video?
There are a total of 316 Chinese characters in this article, count it right.
How to solve the 403 error (Denied by Referer ACL) in Weibo video download? . ( AMP mobile acceleration version )
The post How to solve the 403 error (Denied by Referer ACL) in Weibo video download? first appeared on Xiao Laizi’s British life and information .
This article is transferred from: https://justyy.com/archives/62600
This site is only for collection, and the copyright belongs to the original author.