network/yturl: Removed (broken and unmaintained).

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2021-11-26 16:50:09 -05:00 committed by Willy Sudiarto Raharjo
parent ece05c0dba
commit bf20b411b8
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
6 changed files with 0 additions and 345 deletions

View File

@ -1,6 +0,0 @@
yturl (get direct URLs to YouTube videos)
yturl is a simple command-line utility written in Python. It converts
youtube URLs or video IDs into directly-watchable URLs. Example use:
mpv "$(yturl 'http://www.youtube.com/watch?v=KxaCOHT0pmI')"

View File

@ -1,19 +0,0 @@
# HOW TO EDIT THIS FILE:
# The "handy ruler" below makes it easier to edit a package description.
# Line up the first '|' above the ':' following the base package name, and
# the '|' on the right side marks the last column you can put a character in.
# You must make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
yturl: yturl (get direct URLs to YouTube videos)
yturl:
yturl: yturl is a simple command-line utility written in Python. It converts
yturl: youtube URLs or video IDs into directly-watchable URLs. Example use:
yturl:
yturl: mpv "$(yturl 'http://www.youtube.com/watch?v=KxaCOHT0pmI')"
yturl:
yturl:
yturl:
yturl:
yturl:

View File

@ -1,180 +0,0 @@
.\" Automatically generated by Pod::Man 2.27 (Pod::Simple 3.28)
.\"
.\" Standard preamble:
.\" ========================================================================
.de Sp \" Vertical space (when we can't use .PP)
.if t .sp .5v
.if n .sp
..
.de Vb \" Begin verbatim text
.ft CW
.nf
.ne \\$1
..
.de Ve \" End verbatim text
.ft R
.fi
..
.\" Set up some character translations and predefined strings. \*(-- will
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
.\" double quote, and \*(R" will give a right double quote. \*(C+ will
.\" give a nicer C++. Capital omega is used to do unbreakable dashes and
.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff,
.\" nothing in troff, for use with C<>.
.tr \(*W-
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
.ie n \{\
. ds -- \(*W-
. ds PI pi
. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
. ds L" ""
. ds R" ""
. ds C` ""
. ds C' ""
'br\}
.el\{\
. ds -- \|\(em\|
. ds PI \(*p
. ds L" ``
. ds R" ''
. ds C`
. ds C'
'br\}
.\"
.\" Escape single quotes in literal strings from groff's Unicode transform.
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\"
.\" If the F register is turned on, we'll generate index entries on stderr for
.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
.\" entries marked with X<> in POD. Of course, you'll have to process the
.\" output yourself in some meaningful fashion.
.\"
.\" Avoid warning from groff about undefined register 'F'.
.de IX
..
.nr rF 0
.if \n(.g .if rF .nr rF 1
.if (\n(rF:(\n(.g==0)) \{
. if \nF \{
. de IX
. tm Index:\\$1\t\\n%\t"\\$2"
..
. if !\nF==2 \{
. nr % 0
. nr F 2
. \}
. \}
.\}
.rr rF
.\"
.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
.\" Fear. Run. Save yourself. No user-serviceable parts.
. \" fudge factors for nroff and troff
.if n \{\
. ds #H 0
. ds #V .8m
. ds #F .3m
. ds #[ \f1
. ds #] \fP
.\}
.if t \{\
. ds #H ((1u-(\\\\n(.fu%2u))*.13m)
. ds #V .6m
. ds #F 0
. ds #[ \&
. ds #] \&
.\}
. \" simple accents for nroff and troff
.if n \{\
. ds ' \&
. ds ` \&
. ds ^ \&
. ds , \&
. ds ~ ~
. ds /
.\}
.if t \{\
. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
.\}
. \" troff and (daisy-wheel) nroff accents
.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
.ds ae a\h'-(\w'a'u*4/10)'e
.ds Ae A\h'-(\w'A'u*4/10)'E
. \" corrections for vroff
.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
. \" for low resolution devices (crt and lpr)
.if \n(.H>23 .if \n(.V>19 \
\{\
. ds : e
. ds 8 ss
. ds o a
. ds d- d\h'-1'\(ga
. ds D- D\h'-1'\(hy
. ds th \o'bp'
. ds Th \o'LP'
. ds ae ae
. ds Ae AE
.\}
.rm #[ #] #H #V #F C
.\" ========================================================================
.\"
.IX Title "YTURL 1"
.TH YTURL 1 "2015-09-10" "1.20.0" "SlackBuilds.org"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
.nh
.SH "NAME"
yturl \- Get direct URLs to YouTube videos.
.SH "SYNOPSIS"
.IX Header "SYNOPSIS"
yturl [\-h] [\-q \s-1QUALITY\s0] videoID/url
.PP
videoID/url is a YouTube url or bare video \s-1ID.\s0
.SH "DESCRIPTION"
.IX Header "DESCRIPTION"
By default, yturl prints the media \s-1URL\s0 to standard output.
.PP
.Vb 3
\& $ yturl \*(Aqhttp://www.youtube.com/watch?v=8TCxE0bWQeQ\*(Aq
\& Using itag 43.
\& http://r2\-\-\-sn\-uphxqvujvh\-30al.googlevideo.com/videoplayback?source=[...]
.Ve
.PP
This means that you can do something like the following to watch it in
mpv:
.PP
.Vb 1
\& $ mpv "$(yturl \*(Aqhttp://www.youtube.com/watch?v=8TCxE0bWQeQ\*(Aq)"
.Ve
.PP
(also works with vlc, but for some reason not with mplayer)
.PP
Or something like the following to download it (using curl):
.PP
.Vb 1
\& $ curl \-Lo bill "$(yturl \*(Aqhttp://www.youtube.com/watch?v=8TCxE0bWQeQ\*(Aq)"
.Ve
.SH "OPTIONS"
.IX Header "OPTIONS"
.IP "\-h, \-\-help" 4
.IX Item "-h, --help"
show help message and exit
.IP "\-q \s-1QUALITY,\s0 \-\-quality \s-1QUALITY\s0" 4
.IX Item "-q QUALITY, --quality QUALITY"
specify quality, can be \*(L"low\*(R", \*(L"medium\*(R", \*(L"high\*(R", or an itag (see
http://en.wikipedia.org/wiki/YouTube#Quality_and_formats)

View File

@ -1,80 +0,0 @@
#!/bin/bash
# Slackware build script for yturl
# Written by B. Watson (yalhcru@gmail.com)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
# 20180215 bkw: upgrade to 2.0.2.
# 20170302 bkw: use long-format github URL
# 20160727 bkw: upgrade to 2.0.1.
# 20150910 bkw: upgrade to 1.20.0.
# ARCH=noarch, there's no object code in the package.
# Add DESCRIPTION section to man page.
# 20150120 bkw: upgrade to 1.17.0. The old download URL was broken,
# wonder how long for?
# Use "python setup.py" since upstream has started requiring it.
# Get rid of unused SLKCFLAGS and LIBDIRSUFFIX variables.
# 20140316 bkw:
# Updated to 1.16 release, use tar.gz instead of zip file. From now on
# I'll track the releases instead of just grabbing current git... unless
# youtube API changes break the release and upstream takes a long time to
# make a new release.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=yturl
VERSION=${VERSION:-2.0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
# the name of the created package would be, and then exit. This information
# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
fi
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
-exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
python setup.py install --root=$PKG
mkdir -p $PKG/usr/man/man1
gzip -9c $CWD/$PRGNAM.1 > $PKG/usr/man/man1/$PRGNAM.1.gz
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README* LICENSE* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE

View File

@ -1,10 +0,0 @@
PRGNAM="yturl"
VERSION="2.0.2"
HOMEPAGE="https://github.com/cdown/yturl"
DOWNLOAD="https://github.com/cdown/yturl/archive/2.0.2/yturl-2.0.2.tar.gz"
MD5SUM="022a18a8c0bb2882829d53f3a1533b5d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="B. Watson"
EMAIL="yalhcru@gmail.com"

View File

@ -1,50 +0,0 @@
# POD source for yturl man page. Convert with:
# pod2man --stderr -s1 -cSlackBuilds.org -r1.20.0 yturl.pod > yturl.1
=pod
=head1 NAME
yturl - Get direct URLs to YouTube videos.
=head1 SYNOPSIS
yturl [-h] [-q QUALITY] videoID/url
videoID/url is a YouTube url or bare video ID.
=head1 DESCRIPTION
By default, yturl prints the media URL to standard output.
$ yturl 'http://www.youtube.com/watch?v=8TCxE0bWQeQ'
Using itag 43.
http://r2---sn-uphxqvujvh-30al.googlevideo.com/videoplayback?source=[...]
This means that you can do something like the following to watch it in
mpv:
$ mpv "$(yturl 'http://www.youtube.com/watch?v=8TCxE0bWQeQ')"
(also works with vlc, but for some reason not with mplayer)
Or something like the following to download it (using curl):
$ curl -Lo bill "$(yturl 'http://www.youtube.com/watch?v=8TCxE0bWQeQ')"
=head1 OPTIONS
=over 4
=item -h, --help
show help message and exit
=item -q QUALITY, --quality QUALITY
specify quality, can be "low", "medium", "high", or an itag (see
http://en.wikipedia.org/wiki/YouTube#Quality_and_formats)
=back
=cut