Скачиваем видео с YouTube
Пакет pytube предоставляет всю небходимую функциональность для скачивания видео с YouTube, а также для сбора всей информации о нем.
Для работы нам необходимо создать объект класса YouTube. Помимо ссылки на видео в конструктор можно передать в качестве параметров функции для обработки прогресса загрузки и завершения.
Большинство видео на ютубе не имеют аудиодорожки на потоках с высоким разрешением, свыше 720p — это связано с технологией передачи DASH, которую использует YouTube.
На картинке мы показали как отфильтровать потоки с прогрессивной передачей и выбрать из полученного списка с максимальным доступным разрешением до 720p.
Для загрузки выбранного потока используем функцию download(), в функцию можно передать в качестве параметров путь до директории для сохранения и имя файла.
#python#youtube
Дорогие друзья!
После того, как #YouTube заблокировал наш канал, мы долго переживали, но все же решили создать новый канал.
Подписывайтесь, оставляйте свои комментарии и советуйте друзьям.
Милости просим:
https://www.youtube.com/@Pasashgroup
#пасаш
#рок
#ютьюб
#эйрокер
YouTube удалил 30 тысяч видео с COVID-дезинформацией
И это только за последние полгода, заявила Axios представитель платформы Елена Эрнандес. Если считать с февраля 2020-го, то число составляет 800 тысяч.
Видео сначала помечаются либо системами искусственного интеллекта компании, либо рецензентами-людьми, а затем проходят проверку на другом уровне, после чего аккаунты-нарушители получают предупреждение и могут быть заблокированы.
По мнению обозревателя, очень важно то, что платформы вообще раскрывают такие цифры, но ещё ценнее знать, в каких масштабах дезинформация НЕ улавливается.
#новости#инфовойны#YouTube#фейки#дезинформация#коронавирус
Film on online education during lockdown released on YouTube - #Online#Education#YouTube#Film - https://www.tribuneindia.com/news/himachal/film-on-online-education-during-lockdown-released-on-youtube-237456
https://online.dr-chuck.com/about.php
This is the web site of the "University of Dr. Chuck". I teach a number of free/online/open courses based on free and open materials and this site is the course catalog for my free courses.
#learn#python
https://python.swaroopch.com/
A Byte of #Python
"A Byte of Python" is a free book on programming using the Python language. It serves as a tutorial or guide to the Python language for a beginner audience. If all you know about computers is how to save text files, then this is the book for you.
#learn
https://intellipaat.com/tutorial/python-tutorial/
This #Python free tutorial is for beginners as an introduction to learn this powerful programming language.
#learn
# In Python 3.4+ you can use
# contextlib.suppress() to selectively
# ignore specific exceptions:
import contextlib
with contextlib.suppress(FileNotFoundError):
os.remove('somefile.tmp')
# This is equivalent to:
try:
os.remove('somefile.tmp')
except FileNotFoundError:
pass
# contextlib.suppress docstring:
#
# "Return a context manager that suppresses any
# of the specified exceptions if they occur in the body
# of a with statement and then resumes execution with
# the first statement following the end of
# the with statement."
#python#learn
https://intellipaat.com/tutorial/python-tutorial/
Often, programmers fall for Python because of its minimum compilation time and speedier edit-test-debug cycle. Python is a go-programming language that has automated the way programmers code. This is indeed one of the major reasons developers have switched their interest to Python programming language. It helps you write simple scripts at relatively faster rate compared to Java, C, C++ .
Get #Python Certification in just 16 Hours
GET CERTIFIED
#learn
http://docs.python-guide.org/en/latest/
Greetings, Earthling! Welcome to The Hitchhiker’s Guide to Python.
This is a living, breathing guide. If you’d like to contribute, fork us on GitHub!
This handcrafted guide exists to provide both novice and expert Python developers a best practice handbook to the installation, configuration, and usage of Python on a daily basis.
This guide is opinionated in a way that is almost, but not quite, entirely unlike Python’s official documentation. You won’t find a list of every #Python web framework available here. Rather, you’ll find a nice concise list of highly recommended options.
#learn