Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pinterest和BBC部分不正常 #6

Open
cantoblanco opened this issue Jun 21, 2024 · 3 comments
Open

Pinterest和BBC部分不正常 #6

cantoblanco opened this issue Jun 21, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@cantoblanco
Copy link

Describe the bug 描述错误
Pinterest:页面无法打开,显示空白,控制台错误显示

Refused to set the document's base URI to 'https://y.demo.wvusd.homes/https://www.pinterest.com' because it violates the following Content Security Policy directive: "base-uri 'none'".

BBC:网页内视频无法加载,控制台错误显示:

Access to fetch at 'https://idcta.api.bbc.com/idcta/config?userOrigin=HTTPS:_GNL&ptrt=https%3A%2F%2Fy.demo.wvusd.homes%2Fhttps%3A%2F%2Fwww.bbc.com%2Fws%2Fav-embeds%2Fcps%2Fzhongwen%2Fsimp%2Fworld-69136250%2Fp0j5hcdh%2Fzh-hans%3Fzephr-REPLACETYPE' from origin 'https://y.demo.wvusd.homes' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

The URL 错误链接
https://y.demo.wvusd.homes/https://www.pinterest.com
https://y.demo.wvusd.homes/https://www.bbc.com/zhongwen/simp/world-69136250?at_medium=RSS&at_campaign=KARANGA

@1234567Yang 1234567Yang added the bug Something isn't working label Jun 21, 2024
@1234567Yang
Copy link
Owner

修了半天仅仅修复了一部分问题,还有一部分我实在是要吐了

正在研发客户端模式的,既然JS不行,那么C#来补。

@cantoblanco
Copy link
Author

修了半天仅仅修复了一部分问题,还有一部分我实在是要吐了

正在研发客户端模式的,既然JS不行,那么C#来补。

非常感谢您的工具,在没有代理的电脑上临时用一下很有用,在URL前面直接加网址实现代理相比客户端在操作上相对来说更加便捷。
但如果JavaScript实在是难以完美实现也就算了,可以作为应急小工具的定位,您可以随时关闭这个issue,再次感谢您做的这个小工具:)

@1234567Yang
Copy link
Owner

1234567Yang commented Jun 21, 2024

issue没解决关闭 = 掩耳盗铃

我还会有时间的时候再搞搞,看看能不能代理上。
推荐几个方法,结合使用:
1:用duckduckgo搜bbc视频下载
2:如果是只要看内容,可以搜online website screenshot,比如:https://y.demo.wvusd.homes/https://www.screenshotmachine.com/


目前问题在这:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants