GithubHelp home page GithubHelp logo

Khinsider no longer works about khinsider HOT 4 CLOSED

PsyKoptiK avatar PsyKoptiK commented on July 18, 2024
Khinsider no longer works

from khinsider.

Comments (4)

theshadowmario3 avatar theshadowmario3 commented on July 18, 2024

Try updating your khinsider.py file, it worked out for me.

from khinsider.

PsyKoptiK avatar PsyKoptiK commented on July 18, 2024

Thanks @theshadowmario3 for your answer.

  • Updating:
$ pip install -U khinsider
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: khinsider in /usr/local/lib/python3.8/dist-packages (1.0.0)
Requirement already satisfied: requests<3.0.0,>=2.26.0 in ./.local/lib/python3.8/site-packages (from khinsider) (2.27.1)
Requirement already satisfied: beautifulsoup4<5.0.0,>=4.10.0 in ./.local/lib/python3.8/site-packages (from khinsider) (4.11.1)
Requirement already satisfied: soupsieve>1.2 in ./.local/lib/python3.8/site-packages (from beautifulsoup4<5.0.0,>=4.10.0->khinsider) (2.3.2.post1)
Requirement already satisfied: certifi>=2017.4.17 in ./.local/lib/python3.8/site-packages (from requests<3.0.0,>=2.26.0->khinsider) (2021.10.8)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in ./.local/lib/python3.8/site-packages (from requests<3.0.0,>=2.26.0->khinsider) (1.26.9)
Requirement already satisfied: idna<4,>=2.5 in ./.local/lib/python3.8/site-packages (from requests<3.0.0,>=2.26.0->khinsider) (3.3)
Requirement already satisfied: charset-normalizer~=2.0.0 in ./.local/lib/python3.8/site-packages (from requests<3.0.0,>=2.26.0->khinsider) (2.0.12)

Everything seems already up-to-date.

  • Trying search function:
$ khinsider --search horizon-zero-dawn
Couldn't search. Found 3 matching albums.

Ouch!

  • Trying download function:
$ khinsider jumping-flash
Getting song list...

An unexpected error occurred! If it isn't too much to ask, please report to https://github.com/obskyr/khinsider/issues.
Attach the following error message:

Traceback (most recent call last):
  File "/usr/local/bin/khinsider", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.8/dist-packages/khinsider.py", line 710, in main
    sys.exit(doIt())
  File "/usr/local/lib/python3.8/dist-packages/khinsider.py", line 637, in doIt
    success = download(
  File "/usr/local/lib/python3.8/dist-packages/khinsider.py", line 458, in download
    return Soundtrack(soundtrackId).download(path, makeDirs, formatOrder, verbose)
  File "/usr/local/lib/python3.8/dist-packages/khinsider.py", line 368, in download
    for song in self.songs:
  File "/usr/local/lib/python3.8/dist-packages/khinsider.py", line 164, in lazyVersion
    setattr(self, attrName, func(self))
  File "/usr/local/lib/python3.8/dist-packages/khinsider.py", line 331, in songs
    table = self._contentSoup.find("table", id="songlist")
  File "/usr/local/lib/python3.8/dist-packages/khinsider.py", line 164, in lazyVersion
    setattr(self, attrName, func(self))
  File "/usr/local/lib/python3.8/dist-packages/khinsider.py", line 310, in _contentSoup
    if contentSoup.find("p").string == "No such album":
AttributeError: 'NoneType' object has no attribute 'find'

→ The problem still remains for me. 😃

from khinsider.

obskyr avatar obskyr commented on July 18, 2024

@PsyKoptiK This has likely been fixed as of b1683fb – try updating to the latest version and let me know how it goes!

from khinsider.

PsyKoptiK avatar PsyKoptiK commented on July 18, 2024

Thanks @obskyr, great job everything works perfectly now! 👍

from khinsider.

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.