You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The 403 JSON error is coming from L106, L116. The correct way to get the JSON is:
GET /api/v1/videos/3712.json
Accept: application/json, text/javascript, */*; q=0.01
Authorization: Token $USER_TOKEN
Origin: https://www.raywenderlich.com
Referer: https://www.raywenderlich.com/
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.2 Safari/605.1.15
X-Requested-With: XMLHttpRequest
X-CSRF-Token: *
You can bypass by parse the USER_TOKEN with a parameter (--video-password) and get that value into raywenderlich.py
The current implementation is using the thumbnailUrl in HTML's meta tags to get the lessonId. Apparently, there is no other way to get that 3712 except getting from the thumbnail. And there are videos that don't have a thumbnail.
Checklist
Verbose log
Description
This does require account credentials but I am unable to provide them as the account is a shared account and I am not the primary owner.
The text was updated successfully, but these errors were encountered: