Package Details: you-get 0.4.1730-1

Git Clone URL: https://aur.archlinux.org/you-get.git (read-only, click to copy)
Package Base: you-get
Description: A YouTube/Youku/Niconico video downloader written in Python 3.
Upstream URL: https://www.soimort.org/you-get/
Licenses: MIT
Submitter: jelly
Maintainer: chengscott
Last Packager: chengscott
Votes: 1
Popularity: 0.005536
First Submitted: 2024-04-08 15:01 (UTC)
Last Updated: 2024-08-29 02:52 (UTC)

Dependencies (8)

Required by (0)

Sources (1)

Latest Comments

micwoj92 commented on 2024-08-11 07:30 (UTC)

@Terrasse python-mutf8 was missing from python-dukpy. I've added this there.

@chengscott Please apply

--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,14 +3,16 @@

 pkgname=you-get
 pkgver=0.4.1718
-pkgrel=1
+pkgrel=2
 pkgdesc="A YouTube/Youku/Niconico video downloader written in Python 3."
 url="https://www.soimort.org/you-get/"
 arch=('any')
 license=('MIT')
 depends=('python')
-makedepends=('python-setuptools')
-optdepends=('python-pysocks: for socks proxy support')
+makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')
+checkdepends=('python-dukpy')
+optdepends=('python-dukpy: extract videos from YouTube'
+            'python-pysocks: for socks proxy support')
 source=("$pkgname-$pkgver.tar.gz::https://github.com/soimort/you-get/archive/v$pkgver.tar.gz")
 b2sums=('d8a39a6e3a1e790f2667437fd7b0ba8b3bdde15ed0a436f11703cdbc71b1bf700653a6d49282dd7b7e69b290d517b4dd4d48e949e59ecf71a6300cb50d9acf57')

@@ -21,7 +23,7 @@ build() {

 check() {
   cd you-get-$pkgver
-  (cd src; python -m unittest discover -s ../tests) || echo "Tests failed"
+  (cd src; python -m unittest discover -s ../tests)
 }

 package() {

Terrasse commented on 2024-08-01 01:56 (UTC)

Maybe python-build and python-mutf8 should be added as dependencies.

Here are errors I encountered:

==> Starting build()...
/usr/bin/python: No module named build.__main__; 'build' is a package and cannot be directly executed
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: you-get-exit status 4
======================================================================
ERROR: test (unittest.loader._FailedTest.test)
----------------------------------------------------------------------
ImportError: Failed to import test module: test
Traceback (most recent call last):
  File "/home/username/.cache/yay/you-get/src/you-get-0.4.1718/src/you_get/extractors/youtube.py", line 7, in <module>
    import dukpy
  File "/usr/lib/python3.12/site-packages/dukpy/__init__.py", line 1, in <module>
    from .evaljs import evaljs, JSInterpreter
  File "/usr/lib/python3.12/site-packages/dukpy/evaljs.py", line 8, in <module>
    from mutf8 import encode_modified_utf8, decode_modified_utf8
ModuleNotFoundError: No module named 'mutf8'

Also, maybe python-dukpy as an optional dependency:

you-get: Please install dukpy in order to extract videos from YouTube:
you-get: $ pip install dukpy

Rulinux commented on 2024-06-25 18:17 (UTC) (edited on 2024-06-25 18:17 (UTC) by Rulinux)

Would anyone be so kind compile this package new. Since last major update it does not work anymore. I have contacted the old packer but he wrote that is not responsible anymore. Who is the new one?

Duter2016 commented on 2024-05-13 17:32 (UTC)

Deprecated since version 3.4, will be removed in version 3.12: The imp module is deprecated in favor of importlib.

Universebenzene commented on 2024-05-01 14:57 (UTC)

Package can't build under py3.12. This patch may fix.