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

已解决 #558

Closed
ghost opened this issue Aug 21, 2024 · 4 comments
Closed

已解决 #558

ghost opened this issue Aug 21, 2024 · 4 comments

Comments

@ghost
Copy link

ghost commented Aug 21, 2024

已解决

@ihmily
Copy link
Owner

ihmily commented Sep 2, 2024

web端能正常观看吗?我并没有会员账号 因此无法开发测试。

@ihmily
Copy link
Owner

ihmily commented Sep 2, 2024

浏览器网页登录抖音账号后,按F12 打开浏览器开发者工具,然后刷新网页,找到如下图包含cookie的地址,点击后在右侧请求头中复制包含你的登录信息的cookie
image

打开编辑录制程序config文件夹中的config.ini文件,将原有的cookie替换成你自己复制的cookie,然后保存。
image

做完上面这个后再开始录制,这样程序录制时相当于是登录了你的账号去访问直播间地址。

如果还是不能正常录制,可能是抖音有其他的判断逻辑,或者说直播源数据返回的和普通类型不一致,程序解析失败。

@ghost ghost changed the title 抖音专属会员vip直播如何录制 已解决 Sep 17, 2024
@ghost ghost closed this as completed Sep 17, 2024
@KesionX
Copy link

KesionX commented Oct 15, 2024

浏览器网页登录抖音账号后,按F12 打开浏览器开发者工具,然后刷新网页,找到如下图包含cookie的地址,点击后在右侧请求头中复制包含你的登录信息的cookie image

打开编辑录制程序config文件夹中的config.ini文件,将原有的cookie替换成你自己复制的cookie,然后保存。 image

做完上面这个后再开始录制,这样程序录制时相当于是登录了你的账号去访问直播间地址。

如果还是不能正常录制,可能是抖音有其他的判断逻辑,或者说直播源数据返回的和普通类型不一致,程序解析失败。

提示这个错误是为什么?cookie获取的不对吗?
URL Error: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:997)>
第一次获取数据失败:https://live.douyin.com/106045055465 准备切换解析方法'NoneType' object has no attribute 'group'
URL Error: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:997)>

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


After logging in to your Douyin account on the browser webpage, press F12 to open the browser developer tools, then refresh the webpage, find the address containing cookies as shown below, click and copy the cookie containing your login information in the request header on the right! [image ] (https://private- user-images.githubusercontent.com/114978440/363611090-971707-2F4A-4461-A9D2A38FE223.png=eyjhbgcioiji Uzi1niisinr5ci6ikpxvcj9.eyjpc3mioijnaxrodwiuy29tiiwiyxvkijoicmf 3LMDPDGH1YNVZXJJB250LMNVBSIMTLETUILCJLEHEHAIOJE3MJG 5NZU5MJCSIM5III6MTCyodk3ntyynywicgf0aci6II8XMTQ5NZDAVMZYZN _WC1BBXOTQWXNNNNJPDGHTPUFXUZQTSE1BQY1TSEEYMWC1BBXOTQ3JLZGLHBD1BS0LBVKNPRMU0E1M1BRSZRJIWMDE1JTJGDXMTZWFZDC 0xjtjgczmlmkzmkzm0x3JLCXVLC3QMWC1BBXOTRGF0ZT0MDI0MDI0MTAXNVQWNZAWMJLGTQW16luv4CGLYZMZAWJLGTQW16LVHVYZT0XNMU2DDLN MVLNZQ2Y2YMGY2ZJMYNDM4N2y5ywflztriztiwytiwytuxnMy5ntj Qfahqekxm2ucn1lnmxpn0_k4yank_n4)

Open the config.ini file in the config folder of the editing and recording program, replace the original cookie with your own copied cookie, and then save it. ![image](https://private-user-images.githubusercontent.com/114978440/363612598-4166113c-35c4-403b-9ac0-89b5ce7ed657.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOi JnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mjg5NzU5MjcsIm5iZiI6MTcyODk3NTYyNywicGF0aCI6Ii8xMTQ5Nzg0 NDAvMzYzNjEyNTk4LTQxNjYxMTNjLTM1YzQtNDAzYi05YWMwLTg5YjVjZTdlZDY1Ny5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lB VkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQxMDE1JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MTAxNVQwNzAwMjdaJlgtQW16LUV4cGlyZXM9MzAwJ lgtQW16LVNpZ25hdHVyZT1hNGU4ZDQxMWJiYmFiZDE5MGNiN2RhZDAxNzk0NjIyYzI3MDhm MDllNmE2NWJjMzg5NTc2NzdmYjY1YzMxMzU5JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ 9.h6yPE_Fn6zM8SZ2YNKBak02phbeFvRX-bvIxPIKB5nQ)

Start recording after completing the above, so that when the program is recording, it is equivalent to logging in to your account to access the live broadcast room address.

If it still cannot be recorded normally, it may be that Douyin has other judgment logic, or the live broadcast source data returned is inconsistent with the ordinary type, and the program fails to parse.

Why is this error prompted? Is the cookie obtained incorrectly?
URL Error: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:997)>
Failed to obtain data for the first time: https://live.douyin.com/106045055465 Prepare to switch the parsing method 'NoneType' object has no attribute 'group'
URL Error: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:997)>

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants