From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marcin Borkowski Newsgroups: gmane.emacs.devel Subject: Re: Using xwidget to play youtube videos Date: Fri, 12 Feb 2016 14:05:03 +0100 Message-ID: <878u2q6pvk.fsf@mbork.pl> References: <87y4auctlw.fsf@gnus.org> <87k2md8pf7.fsf@gnus.org> <87si0z7rkk.fsf@mbork.pl> <878u2q8uf9.fsf@ahungry.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1455282356 12628 80.91.229.3 (12 Feb 2016 13:05:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Feb 2016 13:05:56 +0000 (UTC) Cc: Andreas Schwab , Lars Ingebrigtsen , Richard Stallman , joakim@verona.se, emacs-devel@gnu.org To: Matthew Carter Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 12 14:05:48 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aUDPv-0001i1-QM for ged-emacs-devel@m.gmane.org; Fri, 12 Feb 2016 14:05:47 +0100 Original-Received: from localhost ([::1]:60659 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUDPu-0006Rb-NP for ged-emacs-devel@m.gmane.org; Fri, 12 Feb 2016 08:05:46 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34686) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUDPm-0006Qm-27 for emacs-devel@gnu.org; Fri, 12 Feb 2016 08:05:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUDPi-0001He-SP for emacs-devel@gnu.org; Fri, 12 Feb 2016 08:05:37 -0500 Original-Received: from mail.mojserwer.eu ([2a01:5e00:2:52::8]:46753) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUDPi-0001Ha-LF; Fri, 12 Feb 2016 08:05:34 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id D47ED9D2002; Fri, 12 Feb 2016 14:05:31 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Original-Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yNTL7DXjdS3C; Fri, 12 Feb 2016 14:05:25 +0100 (CET) Original-Received: from localhost (unknown [62.3.162.224]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 5A9919D2001; Fri, 12 Feb 2016 14:05:24 +0100 (CET) User-agent: mu4e 0.9.13; emacs 25.1.50.2 In-reply-to: <878u2q8uf9.fsf@ahungry.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2a01:5e00:2:52::8 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:199816 Archived-At: On 2016-02-12, at 04:43, Matthew Carter wrote: > Marcin Borkowski writes: > >> On 2016-02-10, at 15:41, Andreas Schwab wrote: >> >>> youtube-dl can download them, >> >> (which is technically illegal, AFAIK) >> >>> or show the ultimative video URL. >> >> What do you mean by that? YT can show the URL, too, by using the >> "share" option, doesn't it? >> >>> Andreas. >> >> Best, > > In what regions is it illegal? What law specifically is it breaking? > > I don't see how youtube-dl parsing the HTML YouTube sends, and following > a video link in the HTML, then downloading just the video is any > different than a browser doing the same thing (other than the browser > will normally delete the video from it's hidden download directory when > done with the page). > > Or do you mean it is against the YouTube TOS? Yes, I meant that. I guess breaking the contract you entered is illegal in most jurisdictions. (BTW, those ToS are absurd, IMVHO. But this is another story.) > The share option is a link to a YouTube HTML page with the video in a > container, the "ultimate video URL" is the actual (often obfuscated by > YouTube) link to the direct Shockwave Flash or HTML5 video (ending in > .swf etc. - the streamed video file itself). Ah, I see. Interesting. Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University