-
-
Save Last-Order/5a1c70686bc0c130fe3fbdcbdb1bf22a to your computer and use it in GitHub Desktop.
// ==UserScript== | |
// @name Abema 区域限制 | |
// @version 1.0.0 | |
// @run-at document-end | |
// @namespace Violentmonkey Scripts | |
// @match https://abema.tv/* | |
// @grant none | |
// ==/UserScript== | |
Object.defineProperty(__CLIENT_REGION__, 'isAllowed', { | |
get: () => true | |
}); | |
Object.defineProperty(__CLIENT_REGION__, 'status', { | |
get: () => false | |
}); |
大佬 想问 那现在怎么上abema啊?有啥解决方法不? 跪求!买了一场周六的线上演唱会,哭唧唧~
@Last-Order 好吧明白了,有点遗憾,谢谢您..:(´`」 ∠):_ ...
有啥新法子没? ┭┮﹏┭┮
@Last-Order 好吧明白了,有点遗憾,谢谢您..:(´`」 ∠):_ ...
有啥新法子没? ┭┮﹏┭┮
安卓端的Abema仍然可以用老办法卡网使用,前几天试了试还是可以的,网页版目前个人还没找到新办法,貌似有一些PC端的VPN可以直接连进去,不过我也没试过。
安卓端的Abema
感谢分享。确实安卓端可以用,不知道pc端有什么办法。
- Debian安装WARP
安装GPG Key
curl https://pkg.cloudflareclient.com/pubkey.gpg | sudo gpg --yes --dearmor --output /usr/share/keyrings/cloudflare-warp-archive-keyring.gpg
添加仓库源
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/cloudflare-warp-archive-keyring.gpg] https://pkg.cloudflareclient.com/ $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/cloudflare-client.list
更新
sudo apt update
安装
apt install -y cloudflare-warp
- Debian配置WARP
warp-cli register
warp-cli set-license xxx
warp-cli set-mode proxy
warp-cli set-proxy-port 23333
warp-cli connect
warp-cli status
curl https://www.cloudflare.com/cdn-cgi/trace --socks5 127.0.0.1:40000
- 解锁Netflix
wget https://github.com/sjlleo/netflix-verify/releases/download/v3.1.0-1/nf_linux_amd64
chmod +x nf_linux_amd64
./nf_linux_amd64
./nf_linux_amd64 -proxy sock5://127.0.0.1:40000
- 安装和更新v2Ray
bash <(curl -L https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-release.sh)
- 配置你自己的v2ray配置文件
vim /usr/local/etc/v2ray/config.json
{
"inbounds": [
{
"port": 20384,
"listen": "0.0.0.0",
"protocol": "vmess",
"outboundTag": "cloudflare-warp",
"settings": {
"clients": [
{
"id": "962b8be2-b87e-409e-ac71-373141fe2102"
}
]
},
"streamSettings": {
"network": "tcp",
"tcpSettings": {
"header": {
"type": "none"
}
}
},
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls"
]
}
}
],
"outbounds": [
{
"tag": "cloudflare-warp",
"protocol": "socks",
"settings": {
"servers": [
{
"address": "127.0.0.1",
"port": 40000
}
]
}
},
{
"protocol": "freedom",
"settings": {}
}
],
"routing": {
"domainStrategy": "IPOnDemand",
"rules": [
{
"type": "field",
"outboundTag": "cloudflare-warp",
"domain": [
"chat.openai.com",
"geosite:netflix"
]
}
]
}
}
- 启动v2ray并查看状态
systemctl start v2ray
systemctl status v2ray
systemctl restart v2ray
systemctl enable v2ray
- BBR加速
echo "net.core.default_qdisc=fq" >> /etc/sysctl.conf
echo "net.ipv4.tcp_congestion_control=bbr" >> /etc/sysctl.conf
sysctl -p
查看执行是否成功:
lsmod | grep bbr
这个方法本来是为了解锁chatgpt的,用这个方法也可以解锁abematv 我也不知道为什么
可以 telegram 关注 https://t.me/generatewarpplusbot 获取 license
大佬 想问 那现在怎么上abema啊?有啥解决方法不? 跪求!买了一场周六的线上演唱会,哭唧唧~
https://twitter.com/cyngn87/status/1670683261994160128 利用root过的手机,装上warp+,vpn hotspot,打开热点以后,利用vpn hotspot成功在电脑上观看abematv了
现在挂着日本的节点都直接跳转到不可访问节点,控制台上报错__CLIENT_REGION__ is not defined
如果不适用VPN节点的话,海外的IP又无法访问内容数据,会显示为ERR_BLOCKED_BY_CLIENT
看到网页代码中主要是这一段控制地区信息
window.__CLIENT_REGION__ = {"timezone": "Europe/Berlin", "divisionCode": 1,"isoCountryCode": "DE","cdnURL": "https://ds-glb-linear-abematv.akamaized.net/region","isAllowed": true,"status": true};
不知有无办法直接针对timezone
和isoCountryCode
两个属性进行劫持注入,从而实现直接通过现有地区信息判断的逻辑。
能力有限,对于JS了解甚少,还请dalao们抽空看下这个思路可行性。
@Last-Order 好吧明白了,有点遗憾,谢谢您..:(´`」 ∠):_ ...