youtube-dl icon indicating copy to clipboard operation
youtube-dl copied to clipboard

fix platzi

Open EduTel opened this issue 3 years ago • 3 comments

Please follow the guide below

  • You will be asked some questions, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your pull request (like that [x])
  • Use Preview tab to see how your pull request will actually look like

Before submitting a pull request make sure you have:

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

  • [ x] I am the original author of this code and I am willing to release it under Unlicense
  • [ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

  • [x] Bug fix
  • [ ] Improvement
  • [ ] New extractor
  • [ ] New feature

Description of your pull request and other information

the problem is in the functions PlatziIE and PlatziCourseIE the functions to extract the information point to variables that no longer exist within the js fixed ytdl-org/youtube-dl#28536 fixed ytdl-org/youtube-dl#26566 fixed ytdl-org/youtube-dl#23786 fixed ytdl-org/youtube-dl#22939

EduTel avatar Jan 22 '22 01:01 EduTel

This appears to be working as far as the tests go, but it may just be because it's a "Platzi weekend".

Anyone who has a login, especially for paid content, please test whether the login process works to allow you to download your courses. If not, what about --cookies ...?

dirkf avatar Oct 29 '22 20:10 dirkf

with credentials parameters raise this error

image

with cookies this error

image

EParedez avatar Oct 31 '22 18:10 EParedez

python -m youtube_dl -v -F 'https://platzi.com/clases/2489-passport/41828-autenticacion-vs-autorizacion'

[debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['-v', '-F', 'https://platzi.com/clases/2489-passport/41828-autenticacion-vs-autorizacion'] [debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2021.12.17 [debug] Python version 3.7.3 (CPython) - Linux-5.15.45-amd64-desktop-x86_64-with-Deepin-20.7.1-apricot [debug] exe versions: ffmpeg 4.4.2-1, ffprobe 4.4.2-1 [debug] Proxy map: {} [Platzi] 41828: Downloading webpage [Platzi] 41828: Downloading webpage - retrying 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/development/proyectos/platzi/venv/lib/python3.7/site-packages/youtube_dl/extractor/common.py", line 634, in _request_webpage return self._downloader.urlopen(url_or_request) File "/home/development/proyectos/platzi/venv/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 2288, in urlopen return self._opener.open(req, timeout=self._socket_timeout) File "/usr/lib/python3.7/urllib/request.py", line 531, in open response = meth(req, response) File "/usr/lib/python3.7/urllib/request.py", line 641, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python3.7/urllib/request.py", line 569, in error return self._call_chain(*args) File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain result = func(*args) File "/usr/lib/python3.7/urllib/request.py", line 649, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp)

developcreativo avatar Nov 10 '22 11:11 developcreativo

Is this development still in force?

andre-cat avatar Jul 19 '23 02:07 andre-cat