We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
比如输入网址https://jp.jable.tv/videos/ipzz-102/,得到的m3u8地址是https://assets-cdn.jable.tv/contents/videos_screenshots/35000/35852/preview.jpg" id="player" playsinline="" src="https://homi-doki-mani.mushroomtrack.com/hls/wXr2r2xSTWhEOkwBU3Jvqg/1694602926/35000/35852/35852.m3u8,实际上要的是src后面的那一串
The text was updated successfully, but these errors were encountered:
可以用python對字串進行後處理,例如
start_index = m3u8url .find('src="') if start_index != -1: start_index += len('src="') end_index = m3u8url .find('m3u8', start_index) if end_index != -1: src_url = m3u8url [start_index:end_index]+"m3u8" print(src_url) else: print("未找到src屬性的結束引號") else: print("未找到src屬性") m3u8url = src_url
Sorry, something went wrong.
No branches or pull requests
比如输入网址https://jp.jable.tv/videos/ipzz-102/,得到的m3u8地址是https://assets-cdn.jable.tv/contents/videos_screenshots/35000/35852/preview.jpg" id="player" playsinline="" src="https://homi-doki-mani.mushroomtrack.com/hls/wXr2r2xSTWhEOkwBU3Jvqg/1694602926/35000/35852/35852.m3u8,实际上要的是src后面的那一串
The text was updated successfully, but these errors were encountered: