Comments (4)
Try updating your khinsider.py file, it worked out for me.
from khinsider.
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.
@PsyKoptiK This has likely been fixed as of b1683fb – try updating to the latest version and let me know how it goes!
from khinsider.
Thanks @obskyr, great job everything works perfectly now! 👍
from khinsider.
Related Issues (20)
- Error Message HOT 1
- What am I doing wrong? (first time using python) HOT 1
- Any proxy function?
- Flac doesn't work? HOT 1
- Cant download from URL HOT 1
- Can't add \ to download argument HOT 1
- Command Prompt Crashes When Loading Script.
- script prints list of image files
- Error Message
- Error message-no url specified even if present
- Doesnt work.
- I Can't Download any music or hear any music! HOT 1
- Obsolete Guide HOT 4
- Could not connect to KHInsider HOT 1
- Cannot use tool due to [AttributeError: 'NoneType' object has no attribute 'find'] HOT 1
- You guys represent everything wrong with Github. Such a simple thing made impossible to use for casual users HOT 5
- Obligatory report
- khinsider New Error
- On some URLs, 'info' is appended to the title of the Soundtrack HOT 1
- Please Transform This Script into a Simple GUI Program HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from khinsider.