Блокировки, они повсюду...
Ох как надоела эта тенденция. Наша 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
🌎 A year on Venus lasts 225 Earth days, but its day is even longer—one Venus rotation takes about 243 Earth days. Venus rotates backward compared to most planets, spinning in the opposite direction to its orbit. ✨
#planets⚡#astronomy⚡#solarystem
👉subscribe Interesting Planet
👉more Channels
🪐 The distance from Earth to Proxima Centauri, the closest known star beyond our Sun, is about 4.24 light-years—a distance so vast that if you traveled as fast as New Horizons (the fastest spacecraft launched from Earth), it would take over 78,000 years to get there. Even within our own solar system, Neptune is so far from the Sun—about 4.5 billion kilometers—that sunlight takes over four hours to reach it, showing how truly immense the spaces between cosmic objects really are. ✨
#spacedistances⚡#stars⚡#solarystem⚡#nasa⚡#galaxy⚡#astronomy⚡#universe⚡#cosmos⚡#space
👉subscribe Universe Mysteries
🪐 The giant planet Neptune radiates more energy into space than it receives from the Sun, which is surprising given its great distance from our star. Scientists think this extra heat may come from leftover warmth trapped during Neptune's formation or from slow processes deep within its icy, swirling interior, making Neptune a truly mysterious world at the edge of our solar system. ✨
#Neptune⚡#giantplanets⚡#solarystem⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#universe⚡#cosmos⚡#space
👉subscribe Universe Mysteries
👉more Channels
🪐 It takes the Voyager 1 spacecraft, humanity’s most distant probe, over 19 hours just for a radio signal to travel the 24 billion kilometers between it and Earth—showing how even within our own solar neighborhood, space distances make communication a true journey through time. Each moment spent waiting for a reply from Voyager 1 is a reminder of just how vast the spaces between worlds and stars really are. ✨
#spacedistances⚡#voyager1⚡#solarystem⚡#nasa⚡#galaxy⚡#stars⚡#astronomy⚡#universe⚡#cosmos⚡#space
👉subscribe Universe Mysteries
👉more Channels