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

斗鱼新的url地址获取不到roomid #42

Open
zhangyupy opened this issue Jan 12, 2021 · 0 comments
Open

斗鱼新的url地址获取不到roomid #42

zhangyupy opened this issue Jan 12, 2021 · 0 comments

Comments

@zhangyupy
Copy link

例如这种房间地址:https://www.douyu.com/topic/nzds?rid=5395900
需要增加正则匹配 room_id = re.findall(r'rid=(\d{1,7})', url)[0]

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

1 participant