Closed mrmo1234 closed 6 years ago
YouTube has changed the way URLs are placed in the HTML of the Video pages resulting in links like: "https://drive.google.com/open?id=1gZt..."
That should lead to: "https://drive.google.com/file/d/1gZtK9sp3aOnSZGW2ECrtnKaVDyIutMaY/view"
That actuality outputs: "/redirect?event=video_description&v=OknbFvbG7rY&q=https%3A%2F%2Fdrive.google.com%2Fopen%3Fid%3D1gZtK9sp3aOnSZGW2ECrtnKaVDyIutMaY&redir_token=yjcnFZaZBOCuEqF9KDisAuULc7B8MTUyMjE5MTc1NUAxNTIyMTA1MzU1"
Possible solution: http://docs.python-requests.org/en/latest/user/quickstart/#redirection-and-history Add code to query and fetch the true links.
Fixed
YouTube has changed the way URLs are placed in the HTML of the Video pages resulting in links like: "https://drive.google.com/open?id=1gZt..."
That should lead to: "https://drive.google.com/file/d/1gZtK9sp3aOnSZGW2ECrtnKaVDyIutMaY/view"
That actuality outputs: "/redirect?event=video_description&v=OknbFvbG7rY&q=https%3A%2F%2Fdrive.google.com%2Fopen%3Fid%3D1gZtK9sp3aOnSZGW2ECrtnKaVDyIutMaY&redir_token=yjcnFZaZBOCuEqF9KDisAuULc7B8MTUyMjE5MTc1NUAxNTIyMTA1MzU1"
Possible solution: http://docs.python-requests.org/en/latest/user/quickstart/#redirection-and-history Add code to query and fetch the true links.