Skip to content

Commit f7ec51d

Browse files
Replace youtube-dl with yt-dlp (#404)
* ci: fix lychee extraction Co-authored-by: MichaIng <micha@dietpi.com>
1 parent bbcfa17 commit f7ec51d

5 files changed

Lines changed: 12 additions & 9 deletions

File tree

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ jobs:
5757
id: lychee
5858
if: always() && steps.deploy.outcome == 'success'
5959
run: |
60-
curl -sSfLo lychee.tar.gz "$(curl -sSfH 'Authorization: Bearer ${{ github.token }}' 'https://api.github.com/repos/lycheeverse/lychee/releases/latest' | mawk -F\" '/^ *"browser_download_url": ".*x86_64-unknown-linux-gnu\.tar\.gz"$/{print $4;exit}')"
61-
tar xf lychee.tar.gz lychee
60+
curl -sSfLo lychee.tar.gz "$(curl -sSfH 'Authorization: Bearer ${{ github.token }}' 'https://api.github.com/repos/lycheeverse/lychee/releases/latest' | grep -Po '"browser_download_url": *"\K[^"]*/lychee-x86_64-unknown-linux-gnu\.tar\.gz(?=")')"
61+
tar xf lychee.tar.gz --strip-components=1 lychee-x86_64-unknown-linux-gnu/lychee
6262
- name: Run lychee to check Markdown and HTML files
6363
if: always() && steps.lychee.outcome == 'success'
6464
# x.com/DietPi_|www.patreon.com/DietPi: Network error: Forbidden

.wordlist.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ distro
8484
DistroWatch
8585
DIY
8686
dl
87+
dlp
8788
DL
8889
DLNA
8990
DNS
@@ -503,6 +504,8 @@ YaCy
503504
ympd
504505
youtube
505506
YouTube
507+
yt-dlp
508+
yt
506509
yumiris
507510
ZeroPi
508511
ZeroTier

dietpi-software.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2049,16 +2049,16 @@ <h3>PaperMC</h3>
20492049
</div>
20502050
</div>
20512051
</div>
2052-
<div id="youtubedl" class="row single-project">
2053-
<div class="col-md-4"><a href="images/dietpi-software/youtube-dl1.png" target="_blank" rel="noopener"><img src="images/dietpi-software/youtube-dl1.png" alt="youtube-dl" loading="lazy"></a></div>
2052+
<div id="yt-dlp" class="row single-project">
2053+
<div class="col-md-4"><a href="images/dietpi-software/yt-dlp.png" target="_blank" rel="noopener"><img src="images/dietpi-software/yt-dlp.png" alt="yt-dlp" loading="lazy"></a></div>
20542054
<div class="col-md-8">
20552055
<div class="project-description">
20562056
<div class="project-title clearfix">
2057-
<h3>youtube-dl</h3>
2057+
<h3>yt-dlp</h3>
20582058
<span class="close"></span>
20592059
</div>
20602060
<div class="project-info">
2061-
<div><a href="https://dietpi.com/docs/software/bittorrent/#youtube-dl" target="_blank" rel="noopener"><span>How to Setup / Details:</span><i class="fa fa-book"></i><u>View</u></a></div>
2061+
<div><a href="https://dietpi.com/docs/software/bittorrent/#yt-dlp" target="_blank" rel="noopener"><span>How to Setup / Details:</span><i class="fa fa-book"></i><u>View</u></a></div>
20622062
</div>
20632063
<p>A command-line program to download videos from YouTube.com and many more sites.</p>
20642064
</div>
@@ -3763,9 +3763,9 @@ <h3>HTPC Manager</h3>
37633763
</a>
37643764
</div>
37653765
<div class="col-xl-2 col-lg-3 col-md-4 col-6 mix Download">
3766-
<a href="#softwareinfo" class="thumbnail" rel="#youtubedl">
3767-
<img src="images/dietpi-software/youtube-dl1.png" alt="youtube-dl logo" width="8" height="5" loading="lazy">
3768-
<h3>youtube-dl</h3>
3766+
<a href="#softwareinfo" class="thumbnail" rel="#yt-dlp">
3767+
<img src="images/dietpi-software/yt-dlp.png" alt="yt-dlp logo" width="8" height="5" loading="lazy">
3768+
<h3>yt-dlp</h3>
37693769
<p>CLI video downloader</p>
37703770
</a>
37713771
</div>
-7.22 KB
Binary file not shown.

images/dietpi-software/yt-dlp.png

24.7 KB
Loading

0 commit comments

Comments
 (0)