Giter VIP home page Giter VIP logo

Comments (4)

ritiek avatar ritiek commented on August 11, 2024

Try going to C:\Python27\Scripts\ and run pip.exe install pathlib.

Btw, did you install the dependencies from requirements.txt?

from spotify-downloader.

fapyon avatar fapyon commented on August 11, 2024

The pip.exe install pathlib is installed, but when I try to execute python.exe spotdl.py on c:\python27\ ofc, it gets error like this.

`ERROR: Signature extraction failed: Traceback (most recent call last):
File "c:\Python27\lib\site-packages\youtube_dl\extractor\youtube.py", line 1070, in _decrypt_signature
video_id, player_url, s
File "c:\Python27\lib\site-packages\youtube_dl\extractor\youtube.py", line 958, in _extract_signature_function
raise ExtractorError('Cannot identify player %r' % player_url)
ExtractorError: Cannot identify player u'https://www.youtube.com/yts/jsbin/player-vfluaMKo6/en_US/base.js'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
(caused by ExtractorError(u"Cannot identify player u'https://www.youtube.com/yts/jsbin/player-vfluaMKo6/en_US/base.js'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.",)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "spotdl.py", line 259, in
grabSingle(raw_song=command, number=None)
File "spotdl.py", line 165, in grabSingle
content = goPafy(raw_song)
File "spotdl.py", line 90, in goPafy
return pafy.new(trackURL)
File "c:\Python27\lib\site-packages\pafy\pafy.py", line 122, in new
return Pafy(url, basic, gdata, size, callback, ydl_opts)
File "c:\Python27\lib\site-packages\pafy\backend_youtube_dl.py", line 29, in init
super(YtdlPafy, self).init(*args, **kwargs)
File "c:\Python27\lib\site-packages\pafy\backend_shared.py", line 96, in init
self._fetch_basic()
File "c:\Python27\lib\site-packages\pafy\backend_youtube_dl.py", line 41, in _fetch_basic
raise IOError(str(e).replace('YouTube said', 'Youtube says'))
IOError: ERROR: Signature extraction failed: Traceback (most recent call last):
File "c:\Python27\lib\site-packages\youtube_dl\extractor\youtube.py", line 1070, in _decrypt_signature
video_id, player_url, s
File "c:\Python27\lib\site-packages\youtube_dl\extractor\youtube.py", line 958, in _extract_signature_function
raise ExtractorError('Cannot identify player %r' % player_url)
ExtractorError: Cannot identify player u'https://www.youtube.com/yts/jsbin/player-vfluaMKo6/en_US/base.js'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
(caused by ExtractorError(u"Cannot identify player u'https://www.youtube.com/yts/jsbin/player-vfluaMKo6/en_US/base.js'; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.",)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Sorry before, I'm new to this python/programming, can you give any Youtube references that I can watch to improve my knowledge about it? I'm confused where I must start.

from spotify-downloader.

ritiek avatar ritiek commented on August 11, 2024

You need to update youtube-dl as it says in the error message. Do pip.exe install -U youtube_dl in C:\Python27\Scripts\. That should probably fix it.
As for learning python, this repo provides some really good resources.

from spotify-downloader.

fapyon avatar fapyon commented on August 11, 2024

It fixed just like you said.
Okay, I'll read it, thanks.

from spotify-downloader.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.