Git Product home page Git Product logo

real-url's Issues

websocket数据流,和快手弹幕

有个问题我想请教一下大佬,websocket 包在浏览器上看不到,您是如何处理的呀,还有现在就是你这个快手的弹幕也是获取不到的呀

斗鱼已经不能用了

请输入斗鱼数字房间号:2222
Traceback (most recent call last):
  File "./douyu.py", line 142, in <module>
    real_url = get_real_url(rid)
  File "./douyu.py", line 120, in get_real_url
    real_url = get_sign_url(tt[2], real_rid, tt[0], homejs)
  File "./douyu.py", line 82, in get_sign_url
    sign = get_sign(rid, post_v, tt, ub9)
  File "./douyu.py", line 36, in get_sign
    docjs = execjs.compile(ub9)
  File "/home/thepoy/miniconda3/envs/others/lib/python3.7/site-packages/execjs/__init__.py", line 61, in compile
    return get().compile(source, cwd)
  File "/home/thepoy/miniconda3/envs/others/lib/python3.7/site-packages/execjs/_runtimes.py", line 21, in get
    return get_from_environment() or _find_available_runtime()
  File "/home/thepoy/miniconda3/envs/others/lib/python3.7/site-packages/execjs/_runtimes.py", line 49, in _find_available_runtime
    raise exceptions.RuntimeUnavailableError("Could not find an available JavaScript runtime.")
execjs._exceptions.RuntimeUnavailableError: Could not find an available JavaScript runtime.

大佬想学点东西

heartbeat = b'\x14\x00\x00\x00\x14\x00\x00\x00\xb1\x02\x00\x00\x74\x79\x70\x65\x40\x3d\x6d\x72\x6b\x6c' \ b'\x2f\x00 '
大佬 大晚上在看你的代码,这段是什么编码呀,正好最近在看python的编码转换,搞到现在想给转出来,输出的不对,有乱码,如果方便的话,在麻烦您了,
又搜到一些,如果这个是相关接口的话,经过加密的,就不用和我说啦,哈哈哈,机密。

dy失效

该直播间源地址为:
直播间不存在或未开播或参数错误。

项目可视化

你这是一个不错的项目,赞赞赞~~
最近正好在整理Qt框架,可否将你的这个项目可视化实现一遍?
如果允许的话, 十分感谢!

建议修改bilibili.py的代码逻辑

def getstatus(room_id):
    # anycode


def get_flv_url(room_id):
    # anycode


def get_m3u8_url(room_id):
    # anycode


userin = input('输入房间号')
status = getstatus(userin)
if status:
    flv_url = get_flv_url(userin)
    m3u8_url = get_m3u8_url(userin)
else:
    flv_url = m3u8_url = None

if flv_url:
    print(flv_url)
if m3u8_url:
    print(m3u8_url)
if flv_url is None and m3u8_url is None:
    print("#error message")

有时间了我自己去改,然后PR

有关企鹅电竞弹幕的问题

尊敬的作者您好
我刚试了一下企鹅电竞的弹幕,因为我只想试企鹅电竞的弹幕,所以我在_init_.py文件中,注释掉了其他内容。
运行的时候只显示如下:
{m["name"]}:s{m["content"]}
{m["name"]}:s{m["content"]}
{m["name"]}:s{m["content"]}
{m["name"]}:s{m["content"]}
{m["name"]}:s{m["content"]}
{m["name"]}:s{m["content"]}
不知道是什么情况呀。望得到您得指点,十分感谢

虎牙不能用了

虎牙不能用了,获取的直播源只能播放几秒,然后就不播放了

安卓手机好像不能运行

用termux运行
Traceback (most recent call last):
File "/storage/emulated/0/360LiteBrowser/download/real-url-master/douyin.py", line 6, in
import requests
ModuleNotFoundError: No module named 'requests'
$

抖音弹幕

你好,我需要抖音弹幕获取 请问有什么思路吗?

dy提示未开播

确定id是对的,主播也在线直播中
请输入d音直播间room_id或分享链接:
xxxxxxxxxxxxx
该直播间源地址为:
直播间不存在或未开播或参数错误

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.