Re:YouTube-dl has received a DMCA takedown from RIAA
by getcrunk on Friday October 23, 2020 @10:09PM
(#24876339)
So what do I do next?
[ Parent
| on HN ]
Re:YouTube-dl has received a DMCA takedown from RIAA
by jewel on Friday October 23, 2020 @10:58PM
(#24876601)
In ruby:
require 'cgi'
require 'json'
require 'net/http'
res = Net::HTTP.get URI 'https://www.youtube.com/get_video_info?video_id=aqz-KE-bpKQ'
vars = CGI.parse res
json = JSON.parse vars["player_response"].first
pp json["streamingData"]["formats"]