View Single Post
Sitat av bakkus Vis innlegg
Fungerer flott med youtube-dl:

Kode

youtube-dl https://www.nrk.no/video/PS*20594
[NRK] 20594: Downloading mediaelement JSON
[NRK] 20594: Downloading f4m manifest
[NRK] 20594: Downloading m3u8 information
[download] Downloading playlist: SE: Eggsanking på Bleiksøya
[NRK] playlist SE: Eggsanking på Bleiksøya: Collected 1 video ids (downloading 1 of them)
[download] Downloading video 1 of 1
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 29
[download] Destination: SE - Eggsanking på Bleiksøya-20594.mp4
[download] 100% of 29.00MiB in 00:27
[ffmpeg] Fixing malformated aac bitstream in "SE - Eggsanking på Bleiksøya-20594.mp4"
[download] Finished downloading playlist: SE: Eggsanking på Bleiksøya
Vis hele sitatet...
Aww... hm... har jeg gjort noe galt?

Kode

C:\Python27\Scripts>youtube-dl https://www.youtube.com/watch?v=1F1YyDPZLX8&t=796s
Traceback (most recent call last):
  File "c:\python27\lib\runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "c:\python27\lib\runpy.py", line 72, in _run_code
    exec code in run_globals
  File "C:\Python27\Scripts\youtube-dl.exe\__main__.py", line 9, in <module>
  File "c:\python27\lib\site-packages\youtube_dl\__init__.py", line 444, in main
    _real_main(argv)
  File "c:\python27\lib\site-packages\youtube_dl\__init__.py", line 56, in _real_main
    setproctitle('youtube-dl')
  File "c:\python27\lib\site-packages\youtube_dl\utils.py", line 1665, in setproctitle
    libc = ctypes.cdll.LoadLibrary('libc.so.6')
  File "c:\python27\lib\ctypes\__init__.py", line 440, in LoadLibrary
    return self._dlltype(name)
  File "c:\python27\lib\ctypes\__init__.py", line 362, in __init__
    self._handle = _dlopen(self._name, mode)
TypeError: LoadLibrary() argument 1 must be string, not unicode
't' is not recognized as an internal or external command,
operable program or batch file.

C:\Python27\Scripts>
Tror jeg har herpa noe...

[EDIT:] Fiksa!

Tok en re-install og la til "CPython27\Scripts" i "Path" environment variables.

Tusen takk bakkus!
Sist endret av Turbolego; 22. desember 2016 kl. 20:25. Grunn: Automatisk sammenslåing med etterfølgende innlegg.