Скачиваем видео с YouTube
Пакет pytube предоставляет всю небходимую функциональность для скачивания видео с YouTube, а также для сбора всей информации о нем.
Для работы нам необходимо создать объект класса YouTube. Помимо ссылки на видео в конструктор можно передать в качестве параметров функции для обработки прогресса загрузки и завершения.
Большинство видео на ютубе не имеют аудиодорожки на потоках с высоким разрешением, свыше 720p — это связано с технологией передачи DASH, которую использует YouTube.
На картинке мы показали как отфильтровать потоки с прогрессивной передачей и выбрать из полученного списка с максимальным доступным разрешением до 720p.
Для загрузки выбранного потока используем функцию download(), в функцию можно передать в качестве параметров путь до директории для сохранения и имя файла.
#python#youtube
Будут ли в Беларуси блокировать YouTube?
Назначенный Лукашенко на должность министра информации Дмитрий Жукзаявил, что решение о возможном запрете YouTube должно быть продуманным, целесообразным и эффективным.
«Если мы декларируем, но не можем реализовать, то лучше вообще не декларировать», – подчеркнул он.
По словам Жука, с платформами, которые используют белорусы, нужно действовать аккуратно. Он также напомнил позицию Лукашенко: «он не сторонник запретов».
Вместо этого, считает министр, нужно искать иные механизмы взаимодействия с крупными игроками мирового медиапространства.
#Беларусь#YouTube#информация#запрет#Жук
ОРБИТ
Читайте нас в МАХ
Как и обещано, разобрал очень любопытное зарубежное исследование (здесь) про то, что чувствуют люди, которых банят в социальных сетях. Если подытожить 18 страниц научного текста, то это одно слово: фрустрация.
На довольно большой выборке было подтверждено, что цензура приносит пользователям ощутимые неудобства (если не страдания).
#наблюдения#инфовойны#психология#Facebook#Twitter#Instagram#YouTube
#hacking#python
🐍
Python Hacking | Real Ethical Hacking with Python | PYCEH23+
Description:
This immersive and comprehensive course is designed to equip you with the knowledge and hands-on skills necessary to excel in the exciting world of ethical hacking.
With a focus on practical applications, this course covers everything you need to know about Python programming, making it accessible to both beginners and experienced programmers. You’ll embark on an exciting journey where you’ll learn how to harness the power of Python to manipulate MAC addresses, develop network scanners, execute Man-in-the-Middle attacks, intercept network traffic, create your own pentesting RAT (Remote Access Trojan) malware, and much more.
🌐En
🔗Link
-----
Main channel:@repo_science
Coupons:@freecoupons_reposcience
-----
🧠Mental Health: The Impact of Social Media on Young People
Is the end of the "like" coming? According to TechCrunch, based on the findings of researcher Jane Manchun Wong, #Facebook is currently carrying out tests to reveal only a limited number of likes on a post. The social networking giant is currently conducting the same type of experiment in seven countries on its Instagram app.
What is the reason for this? To reduce the feeling of permanent competition and social pressure. As recent research has shown, this decision could be particularly beneficial for the #MentalHealth of young people. Based on the results of a survey of 1,479 people aged 14 to 24 years by the UK's Royal Society for Public Health, the top 5 social networks have been ranked according to their impact on mental health.
It emerges that #Instagram is the social media platform with the most negative effect on the psychological state of young people. On the other side, #YouTube is considered to be the most positive network in this area and the only one in the research considered to have a 'net positive' influence. To establish this ranking, 14 factors were taken into account such as anxiety, depression, loneliness, self-image, harassment, and the opportunity to express oneself.
🦅@PerspectiveIX via Statista.