obskyr
7d391041e2
Handle song pages 404ing.
...
This happens with the soundtrack “shattered-horizon-2009-gamerip”.
Fixes part of #59 .
2022-04-12 09:18:33 +02:00
obskyr
e146d553d2
Handle the character sequence “&#”.
...
This was problematic for the in general highly broken soundtrack “robot-wants-puppy-gamerip”.
Fixes part of #59 .
2022-04-12 08:23:25 +02:00
obskyr
42198b725e
Default to naming the directory by title, not ID.
...
Closes #63 !
2022-04-12 07:42:07 +02:00
obskyr
b19ac44def
Adapted to recent HTML change.
...
Fixes #64 ; fixes #65 .
2022-04-12 06:21:04 +02:00
obskyr
ba98ec5b4f
Fixed single-result searches.
2021-02-28 03:07:55 +01:00
obskyr
d2d031a920
Accommodate KHInsider's recent hosting change.
...
Fixes #42 .
2020-02-20 00:37:08 +09:00
obskyr
870b74f397
Filter out newly added console page links.
...
This way, HTML cruft won't be downloaded along with a soundtrack's images.
Resolves #40 .
2019-12-13 02:01:00 +01:00
obskyr
00453f11e0
Adapted to recent changes in song pages' HTML.
...
Fixes #36 ; resolves #37 .
2019-11-17 10:56:40 +01:00
obskyr
c215747c42
Improved support for non-ASCII paths on Python 2.
...
Possibly (hopefully!) a fix for #35 .
2019-07-22 16:57:16 +02:00
obskyr
de648c20dd
Friendlified error when a search term's too short.
2019-06-15 12:44:23 +02:00
obskyr
b970dbdfd9
Quelled deprecation warnings on Python 3.7+.
...
Resolves #33 .
2019-05-19 18:20:36 +02:00
obskyr
688b59e9a9
Fixed file URLs that contain Unicode characters on Python 2.
...
Fixes #29 .
2018-09-13 12:46:59 +02:00
obskyr
b32b1a4d4f
Fixed encoding issues on Python 2 on Windows.
...
And technically on Python 3 on systems with non-Unicode filesystems, if any of those exist anymore...!
2018-07-20 10:17:45 +02:00
obskyr
a555061483
Fixed selecting format and improved error output a bit.
...
Solves #28 !
2018-07-04 21:16:36 +02:00
obskyr
9f63e4c59e
Allow specifying entire links to soundtracks.
2018-07-04 04:17:19 +02:00
obskyr
8c137b7b30
Minor style fix.
...
Oh, right, this script isn't in snake case.
2018-06-26 22:08:27 +02:00
obskyr
68553158f9
Handle non-Unicode filesystems.
...
Fixes #27 .
2018-06-26 21:48:48 +02:00
obskyr
f4a578b4b2
Use pip the officially supported way.
...
See: https://pip.pypa.io/en/latest/user_guide/#using-pip-from-your-program
2018-04-20 01:27:49 +02:00
obskyr
a20948246b
Improved error output a bit.
...
Exit statuses! Stderr! Wahoo!
2018-04-20 00:55:40 +02:00
obskyr
e44902bb8d
Fixed filenames containing disallowed characters on Windows.
...
Fixes #24 .
2018-04-20 00:01:04 +02:00
obskyr
0576c211aa
Always use URL filenames instead of song names.
2018-03-18 18:06:05 +01:00
obskyr
b6c1c5b010
Handle songs that lack names.
...
Fixes #22 !
2018-03-17 21:33:18 +01:00
obskyr
d6e17ffc44
Fixed unicode support. Again.
...
Fixes #20 !
It seems I'd tried to simplify the unicode printing code, but broken it in the process.
2018-03-04 14:58:47 +01:00
obskyr
af844028ea
Suppress Beautiful Soup unicode warnings.
2018-03-04 14:13:00 +01:00
obskyr
8575bfc5f1
Updated to work with recent layout change.
...
Fixes #19 ! I also took the opportunity to fix some minor style inconsistencies.
2018-02-21 12:59:05 +01:00
obskyr
eeeaa03151
Updated to work with latest song list layout.
...
Fixes #18 !
2017-12-06 19:51:02 +01:00
obskyr
5c9ee72d49
Preserve tracebacks on Python 2.
2017-12-06 08:31:32 +01:00
obskyr
6fde4be7e0
Handle read timeouts as connection errors.
...
Fixes #17 !
2017-12-04 14:43:08 +01:00
obskyr
828c3b5785
Updated documentation.
2017-11-21 08:48:18 +01:00
obskyr
9cf09fe8da
Added ability to download FLAC versions!
...
Resolves #16 .
2017-11-21 06:27:56 +01:00
obskyr
86054518eb
Rewrote the entire script with a new object-oriented API!
2017-11-21 05:20:04 +01:00
obskyr
755c472bb8
Use argparse for arguments.
2017-11-20 19:41:01 +01:00
obskyr
06ccccc0dc
Fixed downloading images and updated variable names.
...
Fixes #15 .
2017-11-20 05:53:20 +01:00
obskyr
c0eda1c0b6
Added error message to failed package installations.
2017-11-20 05:53:19 +01:00
obskyr
1a11f55655
Added version specifiers to pip installs.
2017-11-20 05:53:04 +01:00
obskyr
479ef67fb9
Only create directory for soundtrack if soundtrack exists.
2017-07-07 18:55:39 +02:00
obskyr
d1796933d5
Style fixes.
2016-08-22 16:32:00 +02:00
ali-shamakhi
fb480771f6
Skip previous downloaded files from the album.
2016-08-21 21:50:32 +04:30
obskyr
faef28190f
Added friendlier message when stopping a download.
...
Also fixed a docstring a bit, and added the magic word to an error message.
2016-08-16 00:23:25 +02:00
obskyr
133cfec1a4
Show download progress of album.
...
Resolves #6 .
2016-01-04 22:44:42 +01:00
obskyr
6865afc882
Fixed ability to pipe output.
2015-11-30 03:28:35 +01:00
obskyr
053ded0769
Download images.
2015-11-30 03:24:31 +01:00
obskyr
5dc3ed7d4e
Unicode printing in both Python 2 and 3.
2015-10-18 21:41:07 +02:00
obskyr
7e07691b3b
Fixed downloading songs with Unicode names.
...
Once and for all, hopefully!
2015-10-12 16:04:17 +02:00
obskyr
8687d91388
Unicode literals + readme typo fix.
2015-10-12 16:03:46 +02:00
obskyr
5f8ee6b7c2
Updated readme with Python 3 compatibility.
...
Also changed a single comment in khinsider.py to be more proper.
2015-09-09 18:48:52 +02:00
obskyr
928a24f8a0
Got rid of new BeautifulSoup4 warning.
...
Which means the only parser that can be used is the one that's available
across all platforms - html.parser. Not very nice.
2015-08-16 16:11:41 +02:00
obskyr
4825e0b83a
Fixed Python 3 compatibility.
...
Bytestrings where needed.
2015-08-16 15:58:48 +02:00
manuel219
95a8fa1140
Added forward compatibility with Python 3
...
Changed all print x statements to the print(x) function for Python 3 compatibility and imported the appropiate __future__ package to maintain compatibility with Python 2.
2015-08-11 22:57:04 -04:00
obskyr
717edd4638
Fixed getting songs with unicode names.
...
Closes #2 . Thanks, @manuel219, for bringing this to light!
2015-08-12 00:28:17 +02:00