Last active
December 6, 2024 06:44
-
-
Save ivang7/95e6476305f887824df8f48ccfe0cccd to your computer and use it in GitHub Desktop.
Как скачать видео с рутюба
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
открываем страницу | |
https://rutube.ru/video/f302ba6920e127635e800611cc943b7a/ | |
ищем тег | |
<meta property="og:video" content="http://rutube.ru/play/embed/11709712" /> | |
цифры айди используем в ссылке вида: | |
https://rutube.ru/api/play/options/11709712/?format=json | |
получаем джсон | |
в нем balancer.m3u8 даст нам m3u8 файл с плейлистами, выбираем подходящий по качеству | |
в плейлисте имена файлов, путь используем от урла с плейлистом |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment