obskyr / khinsider

A script for khinsider mass downloads. Get video game soundtracks quickly and easily! Also a Python interface.
619 stars 65 forks source link

Can't add \ to download argument #77

Open gidgeesheep opened 1 year ago

gidgeesheep commented 1 year ago

I thought I could specify I only wanted disk 1 to download by adding a \1 or a \1* the to end of the title eg. "mario-kart-wii\1"

-----------------------------------ERROR--------------------------------- Traceback (most recent call last): File "C:\Users\Christian\Documents.MUSIC DOWNLOADER\khinsider.py", line 681, in sys.exit(doIt()) File "C:\Users\Christian\Documents.MUSIC DOWNLOADER\khinsider.py", line 628, in doIt success = download(soundtrack, outPath, formatOrder=formatOrder, verbose=True) File "C:\Users\Christian\Documents.MUSIC DOWNLOADER\khinsider.py", line 457, in download return soundtrack.download(path, makeDirs, formatOrder, verbose) File "C:\Users\Christian\Documents.MUSIC DOWNLOADER\khinsider.py", line 358, in download for song in self.songs: File "C:\Users\Christian\Documents.MUSIC DOWNLOADER\khinsider.py", line 160, in lazyVersion setattr(self, attrName, func(self)) File "C:\Users\Christian\Documents.MUSIC DOWNLOADER\khinsider.py", line 316, in songs anchors = [tr.find('a') for tr in table('tr') if not tr.find('th')] TypeError: 'NoneType' object is not callable

AzuzoraDev commented 1 year ago

I had no issues with the most recent version on Windows PC. I suggest replacing old files with the most recent available. Additionally. K.H sometimes changes their url paths. I'd suggest using a batch (.bat) file while using this program, since it's less hassle to fix lines in case they don't work and make sure the url is correct.