From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id wIVEOZWIRmNzXgAAbAwnHQ (envelope-from ) for ; Wed, 12 Oct 2022 11:27:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id GGpiOZWIRmMwfgEA9RJhRA (envelope-from ) for ; Wed, 12 Oct 2022 11:27:49 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8B1BD148F for ; Wed, 12 Oct 2022 11:27:49 +0200 (CEST) Received: from localhost ([::1]:41112 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oiY1k-0006r2-Qh for larch@yhetil.org; Wed, 12 Oct 2022 05:27:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54868) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiXzY-0005Qj-PJ for emacs-orgmode@gnu.org; Wed, 12 Oct 2022 05:25:32 -0400 Received: from mail-pj1-x1032.google.com ([2607:f8b0:4864:20::1032]:35485) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oiXzQ-0003jh-IQ for emacs-orgmode@gnu.org; Wed, 12 Oct 2022 05:25:32 -0400 Received: by mail-pj1-x1032.google.com with SMTP id a6-20020a17090abe0600b0020d7c0c6650so1513487pjs.0 for ; Wed, 12 Oct 2022 02:25:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=VmAtbhMpnkZSfPkkltscdOGbkrLkbDVNRMYgZqI3w6A=; b=flqCwwQv0U/R4qvIQwgIqwsNHWOYi1N5YUD3SZ/3waD21dNB4iy4BZWmdPNrr0Zyel /RMjSZhYa/Fmp5Qdh0OHyfsaUqTOwjSwGaJrI0TtqvwBHeBHydPzd4V258AzoP/JUuG8 4KnzptEgl69lboc7K/yxo0PPo4sPa+rNReABZlOLy8cf4rjhY+qv+/spJ8Qt/HXbH80u 2f2PFMA6AipazSs3nT31CxWAb/PUtIfR2abDlkR8OriNW8aWYBoLZnBhHMlxQDQBdy+D A+YfJNjOg3eHktxWlpLpqHylc4xeZ5ImTTSDljPXcHZ1PyGif7t39ym5pqJDsjPBYtNi UEbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=VmAtbhMpnkZSfPkkltscdOGbkrLkbDVNRMYgZqI3w6A=; b=3FjD2dRMD/OOtS6sZpJKuaW0hS3eKikw6jBiLypIxJZpd+QT+/YW64WcqcOaGOFusl 5h22Zyz09wT4yjLXYz4ijN7A0ZGTutbPy0sx/CBY/NlKyhQc2MyXLaDJD0O4oLFexldI 45w0rmv63lyHXTV9ElE5zDYuHxNKlrbZotNf95E+rNSZV3ZOCtsf443yZzYGIE8CkAHb xxk8Qp69aVn+Y9wxo0NAWZRozFUlYiJN2QDUn5dreyUQxIXiddFY7g0sx0HJB939b6fU XWiqFipdkurTmM3JO9JrjoItBuUO4mViabRZGOaCvMp25efwkhlWyWlhpF0tWbEc0RGh XGtg== X-Gm-Message-State: ACrzQf0Lcsl0B8LwfarIGT5jygMQf4UPlJz+sCGABsnd2lXfYeNSTKr4 phBzh0gc+oSTYp2x0SYHEIvT+mC42zMvwRw9+vvk6w== X-Google-Smtp-Source: AMsMyM4j2b7ytvUS83GEfuW8pfJulR/AOnn8xxrSNyzYoQrwrsJY60GB55iGz5caxC4UzWNNAb651g== X-Received: by 2002:a17:903:18d:b0:178:28d1:4a13 with SMTP id z13-20020a170903018d00b0017828d14a13mr28659644plg.160.1665566723203; Wed, 12 Oct 2022 02:25:23 -0700 (PDT) Received: from localhost ([2409:8970:af2:32f:6c23:3ad5:f37d:541b]) by smtp.gmail.com with ESMTPSA id m8-20020a170902db0800b0016c09a0ef87sm10232926plx.255.2022.10.12.02.25.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Oct 2022 02:25:22 -0700 (PDT) From: Ihor Radchenko To: Quiliro =?utf-8?B?T3Jkw7PDsWV6?= Cc: emacs-orgmode@gnu.org Subject: Re: watch YT videos through in Emacs [Was: Interest in an Org video meetup?] In-Reply-To: <52cf28741d1e497e68a419bd4952fd0d@riseup.net> References: <87a668emt3.fsf@posteo.net> <87a6684ddw.fsf@localhost> <87czb3syv9.fsf@posteo.net> <52cf28741d1e497e68a419bd4952fd0d@riseup.net> Date: Wed, 12 Oct 2022 17:26:10 +0800 Message-ID: <878rlliea5.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::1032; envelope-from=yantar92@gmail.com; helo=mail-pj1-x1032.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665566869; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=VmAtbhMpnkZSfPkkltscdOGbkrLkbDVNRMYgZqI3w6A=; b=hz3LSUY5P7/TqxZDqKCR4E1jXoYJ+UM8c4yGEckmDXGynXP1PzGhBCuAVJrkhsJTQwIAqp Yxj0Mb+bXeAnQYqn5WUCYtEBbrX+bj/1k/RbLBoIqn06vI7IQG7/r8EsAXcyR9PN3NjY0e Jf1Sqkjx23+67vZltX6NaGH1sLY/pFw47kb15sJMGC3d6x3hXMI6VpBHbnQA1qWxTIXZCw HNiWhfGw4QqZTn5XBGLe0vdIPGvwBj345YPd6kZOSUbysBKGt0OLEyRPv1IgO4e4X2uCL3 GLaSzf6vr+QB4jO+Fn8gCYyrTM6rnrw8eK2aI6LOVgUak+Hh2hjZaSUVlBENmw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665566869; a=rsa-sha256; cv=none; b=G9HqpP9P6xqa8qp0FrLNbw2fVdmReHMJX2M3gr1Ak0Inl9CdjrX+itQqiWorcKFKrNNcEt Tu3gy5iZ85AoCp5annFnMSpPGUk8ex6nw5g5UUyziD2G6d7j4Tt/ookkFdluMuUER4QnFr QrmAFJbOIpxqq62hlteQVKFcZC72zRVRruaI5y0cnQdoKSsC3Q+16Z5/zImmIFEtzTyy/4 EAX87+ga3wrKr07FpWnmNXQWWgLwlLlCEBxlJhsBPIkWH7e4vsv6IMdHwRy9DAi4u6vI4U iSMxUgDAsdzRlOcKIFWoJcK41yZVH/c1hoofIqBqgOo/N/grqmWKnm1UZ8SSSQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=flqCwwQv; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.40 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=flqCwwQv; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 8B1BD148F X-Spam-Score: -3.40 X-Migadu-Scanner: scn1.migadu.com X-TUID: 10x4l6EL4sKy Quiliro Ord=C3=B3=C3=B1ez writes: > Hola Juan Manuel. > >> There is the YouTube option, which I imagine no one would like (me >> neither). The only thing in its favor is that Invidious can be used to >> watch the videos. BTW, I watch YT videos through Invidious in Emacs, >> with the Ytel package and EMMS/MPV. > > Nice. Is there a guide to do this specificly? I simply use #+begin_src bash :tangle ~/.local/bin/qutebrowser-call.sh :shebang #!/bin/b= ash URL=3D"$1" if echo "$URL" | grep "youtube.com"; then # URL=3D"$(echo "$URL" | sed -r 's/\\(www\\)?youtube\.com/invidious.nam= azso.eu/')" if [[ ! -z $(echo "$URL" | grep "/watch") ]]; then=20 mpv $URL && exit; fi fi if echo "$URL" | grep "ted.com/talks"; then mpv $URL && exit; fi # if echo "$URL" | grep "reddit.com"; then # URL=3D"$(echo "$URL" | sed -rE 's/www\.reddit\.com/libredd.it/')" # fi if echo "$URL" | grep "bilibili.com"; then mpv $URL && exit; fi grep "$URL" ~/.data/web-mirror/sources/* >/dev/null 2>&1 &&\ ARCHIVE_DIR=3D"$(echo "$URL" | archivebox-cmd list 2>/dev/null | tail -= n1 | cut -d' ' -f1 | sed -r 's|/data|~/.data/web-mirror|')" if [[ ! -z "$ARCHIVE_DIR" ]]; then [[ -f "${ARCHIVE_DIR}/singlefile.html" ]] && URL=3D"${ARCHIVE_DIR}/sing= lefile.html"; fi #from https://github.com/qutebrowser/qutebrowser/blob/master/scripts/open_u= rl_in_instance.sh _url=3D"$URL" _command=3D":later 4000 :jump-mark last-position" qutebrowser "${_command}" ":spawn -u untrack-url -r -O ${_url}" #+end_src and my mpv is configured to use youtube-dl. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at