Блокировки, они повсюду...
Ох как надоела эта тенденция. Наша IT индустрия буквально стреляет себе в ногу силами определённых личностей и их мнений о том как для нас будет лучше.
Как бы там ни было, сейчас все советуют экстренно качать и переносить свои видосы с YouTube на отечественные аналоги.
Да, можно использовать оконные софты со всеми удобствами (VLC или Youtube Video Downloader), но мы лучше покодим😉
Я набросал небольшой скрипт для скачивания плейлиста с YouTobe в один клик.
Из зависимостей только модуль pytube.
▫️ Для скачивания выбирается максимально доступный размер видео файла.
▫️ Если файл уже существует то скачивания не будет. Удобно для апдейта обновлений.
▫️ Скрипт качает всё из плейлиста с помощью класса pytube.Playlist. Если хотите скачать канал, то просто замените класс на pytube.Channel
from pytube import Channel
PLAYLIST_URL = 'https://www.youtube.com/channel/XXXXXXXXX'
playlist = Channel(PLAYLIST_URL)
Забираем здесь ➡️
#source
🪐 Light from the galaxy NGC 4992, located nearly 150 million light-years away in Leo, takes so long to reach us that we observe it as it was when dinosaurs still roamed Earth. Even within our own Milky Way, stars like V404 Cygni are thousands of light-years away, meaning every twinkle in the night sky is a peek deep into the past—a testament to the truly immense distances that fill the universe. ✨
#spacedistances⚡#lightyears⚡#galaxies⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#universe⚡#cosmos⚡#space
👉subscribe Universe Mysteries
👉more Channels
🪐 The nearest galaxy to our Milky Way, the Large Magellanic Cloud, is about 163,000 light-years away—which means its light takes 163,000 years to reach us. Even though this galaxy sits relatively close on a cosmic scale, traveling that distance with today’s fastest spacecraft would still take millions of years, revealing just how vast even our local corner of the universe truly is. ✨
#spacedistances⚡#galaxies⚡#lightyears⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#universe⚡#cosmos⚡#space
👉subscribe Universe Mysteries
🪐 The Tarantula Nebula, located in the Large Magellanic Cloud about 160,000 light-years from Earth, is so far away that its brilliant glow started traveling toward us when early humans were first learning to use tools. Even within our own galaxy, vast star-forming regions like the Eagle Nebula are thousands of light-years apart—demonstrating that cosmic distances are measured in spans so immense, light itself must journey for tens of thousands of years just to cross them. ✨
#spacedistances⚡#nebulae⚡#lightyears⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#universe⚡#cosmos⚡#space
👉subscribe Universe Mysteries
👉more Channels