Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

😳 #8142

Open
wants to merge 10,000 commits into
base: master
from
Open

😳 #8142

wants to merge 10,000 commits into from

Conversation

@stephen304
Copy link

@stephen304 stephen304 commented Oct 24, 2020

I would like to point out that I no longer have a fork of this repo. It turns out deleting it doesn't affect outgoing PRs. So I guess the ytdl source is just hanging out in the ether since I can't delete PRs ¯\_(ツ)_/¯

https://github.com/github/dmca/tree/416da574ec0df3388f652e44f7fe71b1e3a4701f

git clone https://github.com/github/dmca.git && cd dmca
git fetch origin 416da574ec0df3388f652e44f7fe71b1e3a4701f
git checkout 416da574ec0df3388f652e44f7fe71b1e3a4701f

PKGBUILD

pkgname=youtube-dl-git
_gitname="youtube-dl"
pkgver=416da574e
pkgrel=1
pkgdesc="A small command-line program to download videos from YouTube.com and a few more sites (git version)"
arch=('any')
url="http://ytdl-org.github.io/youtube-dl/"
license=('custom')
depends=('python' 'python-setuptools')
makedepends=('git' 'pandoc')
optdepends=('ffmpeg: for video post-processing'
            'rtmpdump: for rtmp streams support'
            'atomicparsley: for embedding thumbnails into m4a files'
            'phantomjs: for openload support')
provides=("youtube-dl")
conflicts=("youtube-dl")
source=('youtube-dl::git+https://github.com/github/dmca.git#commit=416da574ec0df3388f652e44f7fe71b1e3a4701f')
md5sums=('SKIP')

pkgver() {
  cd $_gitname
  printf "%s" "$(git rev-parse --short HEAD)"
}

prepare() {
  cd $_gitname
  sed -i 's|etc/bash_completion.d|share/bash-completion/completions|' setup.py
  sed -i 's|etc/fish/completions|share/fish/completions|' setup.py
}

build() {
  cd $_gitname
  make pypi-files zsh-completion
}

package() {
  cd $_gitname
  python setup.py install --root="${pkgdir}/" --optimize=1
  mv "${pkgdir}/usr/share/bash-completion/completions/youtube-dl.bash-completion" \
     "${pkgdir}/usr/share/bash-completion/completions/youtube-dl"
  install -Dm644 youtube-dl.zsh "${pkgdir}/usr/share/zsh/site-functions/_youtube-dl"
  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
dstftw and others added 30 commits Jan 18, 2020
[ci skip]
- fix extraction(closes #23851)
- add add support for authentication
- add support for more domains
They switched to SSL, but under a different host AND path...
Remove the old test cases because these videos have become unavailable.
Xaver Hellauer
@dgw
dgw approved these changes Oct 25, 2020
Copy link

@dgw dgw left a comment

Yer a wizard, Harry.

@jessephus jessephus force-pushed the github:master branch from 43a60dd to 3971dd9 Oct 25, 2020
Copy link

@thomas-portz thomas-portz left a comment

Good commit.

Cheers,

--T

Copy link

@Niquolas Niquolas left a comment

Nice

@stephen304
Copy link
Author

@stephen304 stephen304 commented Oct 25, 2020

Nice

nice

Copy link

@rubikscraft rubikscraft left a comment

Yeah, this is good shit

@j-tai
j-tai approved these changes Oct 26, 2020
Copy link

@BruceZhang1993 BruceZhang1993 left a comment

@NickCao hooray!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

You can’t perform that action at this time.