JesusJimenezG / platzidl

Descarga automatizada de Platzi
60 stars 36 forks source link

Error 403 #11

Open PacifiK2460 opened 3 years ago

PacifiK2460 commented 3 years ago

Al momento de iniciar sesión, obtengo el sig mensaje: ` [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['--username', 'PRIVATE', '--password', 'PRIVATE', '--sleep-interval', '10', '--max-sleep-interval', '15', '--limit-rate', '1M', '-o', '%(playlist_index)s-%(chapter_number)s-%(title)s-%(resolution)s.%(ext)s', '--verbose', 'https://platzi.com/clases/1220-marca-personal/9915-por-que-es-importante-tener-una-marca-personal'] [debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8 [debug] youtube-dl version 2021.03.25 [debug] Python version 3.9.2 (CPython) - Linux-5.10.23-1-MANJARO-x86_64-with-glibc2.33 [debug] exe versions: ffmpeg 4.3.2, ffprobe 4.3.2, rtmpdump 2.4 [debug] Proxy map: {} [Platzi] Downloading login page [Platzi] Logging in ERROR: Unable to download webpage: HTTP Error 403: Forbidden (caused by <HTTPError 403: 'Forbidden'>); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. File "/home/pk/.local/lib/python3.9/site-packages/youtube_dl/extractor/common.py", line 634, in _request_webpage return self._downloader.urlopen(url_or_request) File "/home/pk/.local/lib/python3.9/site-packages/youtube_dl/YoutubeDL.py", line 2279, in urlopen return self._opener.open(req, timeout=self._socket_timeout) File "/usr/lib/python3.9/urllib/request.py", line 523, in open response = meth(req, response) File "/usr/lib/python3.9/urllib/request.py", line 632, in http_response response = self.parent.error( File "/usr/lib/python3.9/urllib/request.py", line 561, in error return self._call_chain(args) File "/usr/lib/python3.9/urllib/request.py", line 494, in _call_chain result = func(args) File "/usr/lib/python3.9/urllib/request.py", line 641, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp)

`

DimaSheiko commented 3 years ago

Parece que el error es del lado de youtube-dl https://github.com/ytdl-org/youtube-dl/issues/28536

JeanCarlosDev17 commented 3 years ago

I've been using it for some time to make backup copies of my courses, my electrical network is unstable, for some time platzi has been patching not being able to login with username and password in youtube-dl, apparently because of platzi day I have patched it completely

EnriqueVaz commented 3 years ago

Mismo Error aqui

JesusJimenezG commented 3 years ago

El login y las descargas las realiza youtube-dl, por lo que este tipo de problemas deberían ser notificados aquí.

De momento este script solo invoca a youtube-dl para que realice descargas automáticamente. Mientras youtube-dl funcione correctamente y tenga al día el soporte para descargar desde platzi, este script funcionará, de lo contrario habrá que esperar por que youtube-dl solucione los posibles errores.

Update: Ya de hecho existe una issue abierta sobre el problema con platzi.