<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=5572&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] yt-dlp updated on GitHub but not Devuan]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=5572</link>
		<description><![CDATA[The most recent posts in [SOLVED] yt-dlp updated on GitHub but not Devuan.]]></description>
		<lastBuildDate>Wed, 22 Feb 2023 15:25:56 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] yt-dlp updated on GitHub but not Devuan]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=41250#p41250</link>
			<description><![CDATA[<p>I just install it via Pip to keep up with the latest version. Pip should be installed if you have Python.</p>]]></description>
			<author><![CDATA[dummy@example.com (hunter0one)]]></author>
			<pubDate>Wed, 22 Feb 2023 15:25:56 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=41250#p41250</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] yt-dlp updated on GitHub but not Devuan]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=41240#p41240</link>
			<description><![CDATA[<p>2023.02.17 arrives 3 days ago in Debian unstable, then it should be in 10 days in Debian Testing, then 10/15 days after as a backport, seeing what have be done for the previous backport:</p><p> [2023-02-18] Accepted yt-dlp 2023.02.17-1 (source) into unstable (Unit 193)<br />[2023-02-01] Accepted yt-dlp 2023.01.06-1~bpo11+1 (source) into bullseye-backports (Unit 193)<br />[2023-01-19] yt-dlp 2023.01.06-1 MIGRATED to testing (Debian testing watch)<br />[2023-01-19] yt-dlp 2023.01.06-1 MIGRATED to testing (Debian testing watch)<br />[2023-01-07] Accepted yt-dlp 2023.01.06-1 (source) into unstable (Unit 193)<br />[2023-01-03] Accepted yt-dlp 2023.01.02-1 (source) into unstable (Unit 193)<br />[2022-11-16] Accepted yt-dlp 2022.11.11-1~bpo11+1 (source) into bullseye-backports (Unit 193)</p>]]></description>
			<author><![CDATA[dummy@example.com (thierrybo)]]></author>
			<pubDate>Tue, 21 Feb 2023 19:39:24 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=41240#p41240</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] yt-dlp updated on GitHub but not Devuan]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=41239#p41239</link>
			<description><![CDATA[<div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>I didn&#039;t know yt-dlp was in the repo. The backports version is the same as what&#039;s in ceres/sid now, so there&#039;s nothing new to backport.</p><p>I keep a copy of the script in my user&#039;s bin/ and I have a script to wget the latest version from git. Apparently, that script is not needed - you should be able to run <span class="bbc">yt-dlp -U</span> to update to the latest.</p></div></blockquote></div><p>I tried to Update from the yt-dlp -U but if you installed via apt, you&#039;ll be advised to upgrade with apt.</p><p>I un-installed it with apt and then upgraded to the git version.</p><p>Thank you</p>]]></description>
			<author><![CDATA[dummy@example.com (GlennW)]]></author>
			<pubDate>Tue, 21 Feb 2023 19:31:08 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=41239#p41239</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] yt-dlp updated on GitHub but not Devuan]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=41234#p41234</link>
			<description><![CDATA[<p>I didn&#039;t know yt-dlp was in the repo. The backports version is the same as what&#039;s in ceres/sid now, so there&#039;s nothing new to backport.</p><p>I keep a copy of the script in my user&#039;s bin/ and I have a script to wget the latest version from git. Apparently, that script is not needed - you should be able to run <span class="bbc">yt-dlp -U</span> to update to the latest.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Tue, 21 Feb 2023 13:42:50 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=41234#p41234</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] yt-dlp updated on GitHub but not Devuan]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=41233#p41233</link>
			<description><![CDATA[<p>The fix recommended at <a href="https://github.com/yt-dlp/yt-dlp/issues/6247" rel="nofollow">#6247</a> is:-</p><div class="codebox"><pre><code>diff --git a/yt_dlp/extractor/youtube.py b/yt_dlp/extractor/youtube.py
index 95ca52b3a..4dde4bbaa 100644
--- a/yt_dlp/extractor/youtube.py
+++ b/yt_dlp/extractor/youtube.py
@@ -4120,7 +4120,7 @@ def is_bad_format(fmt):
             &#039;thumbnail&#039;: traverse_obj(original_thumbnails, (-1, &#039;url&#039;)),
             &#039;description&#039;: video_description,
             &#039;uploader&#039;: get_first(video_details, &#039;author&#039;),
-            &#039;uploader_id&#039;: self._search_regex(r&#039;/(?:channel|user)/([^/?&amp;#]+)&#039;, owner_profile_url, &#039;uploader id&#039;) if owner_profile_url else None,
+            &#039;uploader_id&#039;: self._search_regex(r&#039;/(?:channel/|user/|(?=@))([^/?&amp;#]+)&#039;, owner_profile_url, &#039;uploader id&#039;, default=None),
             &#039;uploader_url&#039;: owner_profile_url,
             &#039;channel_id&#039;: channel_id,
             &#039;channel_url&#039;: format_field(channel_id, None, &#039;https://www.youtube.com/channel/%s&#039;),</code></pre></div><p>I could not find the relevant code at line 4124, but did find it <span class="bbs">lower down</span> higher up:</p><div class="codebox"><pre><code>$ cd /usr/lib/python3/dist-packages/yt_dlp/extractor/
$ fgrep -n &quot;&#039;uploader_id&#039;: self._search_regex&quot; youtube.py
4049:            &#039;uploader_id&#039;: self._search_regex(r&#039;/(?:channel|user)/([^/?&amp;#]+)&#039;, owner_profile_url, &#039;uploader id&#039;) if owner_profile_url else None,</code></pre></div><p>Since I have zero experience with either creating or using <span class="bbc">diff</span> files, I decided on a short &amp; dirty fix: edit it directly:</p><div class="codebox"><pre><code>$ sudo cp youtube.py youtube.py.2023.01.06
$ sudo nano youtube.py
$ fgrep &quot;&#039;uploader_id&#039;: self._search_regex&quot; youtube.py -B 1
            # def is_bad_format(fmt):
            # &#039;uploader_id&#039;: self._search_regex(r&#039;/(?:channel|user)/([^/?&amp;#]+)&#039;, owner_profile_url, &#039;uploader id&#039;) if owner_profile_url else None,
            &#039;uploader_id&#039;: self._search_regex(r&#039;/(?:channel/|user/|(?=@))([^/?&amp;#]+)&#039;, owner_profile_url, &#039;uploader id&#039;, default=None),</code></pre></div><p>The above now works fine for me.</p>]]></description>
			<author><![CDATA[dummy@example.com (alexkemp)]]></author>
			<pubDate>Tue, 21 Feb 2023 12:56:47 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=41233#p41233</guid>
		</item>
		<item>
			<title><![CDATA[[SOLVED] yt-dlp updated on GitHub but not Devuan]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=41231#p41231</link>
			<description><![CDATA[<p>Starting (for me) yesterday the YouTube downloader <span class="bbc">yt-dlp</span> gives the error:</p><div class="codebox"><pre><code>ERROR: [youtube] 72FQIV-jpEk: Unable to extract uploader id;
 please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= ,
 filling out the appropriate issue template.</code></pre></div><p>Looking at the <a href="https://github.com/yt-dlp/yt-dlp/issues/6247" rel="nofollow">GitHub site</a> it has been fixed 5 days ago, and that fix is for this specific error:-</p><div class="quotebox"><cite>Latest wrote:</cite><blockquote><div><p>yt-dlp 2023.02.17<br />Latest<br />4 days ago</p></div></blockquote></div><p>The version for Chimaera from Backports is considerably older:</p><div class="codebox"><pre><code>$ apt search yt-dlp
Sorting... Done
Full Text Search... Done
yt-dlp/stable-backports,now 2023.01.06-1~bpo11+1 all [installed]
  downloader of videos from YouTube and other sites
$ yt-dlp --version
2023.01.06</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (alexkemp)]]></author>
			<pubDate>Tue, 21 Feb 2023 12:13:28 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=41231#p41231</guid>
		</item>
	</channel>
</rss>
