obskyr / thehylia Goto Github PK
View Code? Open in Web Editor NEWA script for The Hylia mass downloads. Get anime soundtracks quickly and easily! Also a Python interface.
A script for The Hylia mass downloads. Get anime soundtracks quickly and easily! Also a Python interface.
Hi,
Great script! It's made life a lot easier for me! :) I was wondering though, would it be possible for you to add a mass download option, to scrape the audio section? Or maybe the ability to download everything per selected letter from the alphabet (to reduce server stress somewhat)? For easy archiving purposes, that'd be pretty sweet.
A download speed indicator, if possible, would be another neat thing to have.
Hi! I've tried to get multiple different albums, but unfortunately each one gives me the same error:
$ python3 thehylia.py 11930
Getting song list...
An unexpected error occurred! If it isn't too much to ask, please report to https://github.com/obskyr/thehylia/issues.
Attach the following error message:
Traceback (most recent call last):
File "thehylia.py", line 498, in <module>
doIt()
File "thehylia.py", line 474, in doIt
download(soundtrack, outPath, formatOrder=formatOrder, verbose=True)
File "thehylia.py", line 363, in download
Soundtrack(soundtrackId).download(path, makeDirs, formatOrder, verbose)
File "thehylia.py", line 287, in download
for song in self.songs:
File "thehylia.py", line 125, in lazyVersion
setattr(self, attrName, func(self))
File "thehylia.py", line 250, in songs
anchors = table('a')
TypeError: 'NoneType' object is not callable
Any help is appreciated, and I can provide any more info if need be.
EDIT: I've also tried using the name instead of the number, however that then causes the following error instead:
$ python3 thehylia.py fullmetal-alchemist-brotherhood-original-soundtrack-1
Getting song list...
An unexpected error occurred! If it isn't too much to ask, please report to https://github.com/obskyr/thehylia/issues.
Attach the following error message:
Traceback (most recent call last):
File "thehylia.py", line 498, in <module>
doIt()
File "thehylia.py", line 474, in doIt
download(soundtrack, outPath, formatOrder=formatOrder, verbose=True)
File "thehylia.py", line 363, in download
Soundtrack(soundtrackId).download(path, makeDirs, formatOrder, verbose)
File "thehylia.py", line 288, in download
files.append(getAppropriateFile(song, formatOrder))
File "thehylia.py", line 158, in getAppropriateFile
return song.files[0]
IndexError: list index out of range
I experienced this error when executing:
python thehylia.py sen-to-chihiro-no-kamikakushi-spirited-away
Traceback (most recent call last): File "thehylia.py", line 513, in <module> doIt() File "thehylia.py", line 511, in doIt raise e requests.exceptions.ReadTimeout: HTTPConnectionPool(host='*****.*****.*****.com', port=****): Read timed out. (read timeout=10)
I have censored the url of my proxy.
Ok, so why not work like, youtube-dl, bandcamp-dl, gallery-dl etc etc etc.
Not that hard either, here is a script for that:
#!/bin/bash
link=`echo "$1" | rev | cut -d \/ -f1 | rev` ;
python ~/bin/thehylia.py "$link" ~/Desktop/"$link"
That's about it. You might have it working in python, idk python. So there is bash.
Hey, so i'm very new to this (spent maybe 3 or so hours trying to figure this out by looking at almost never ending tutorials) and thought I would try it out since it said it easy (I guess for people who know what they are doing). I have been getting 2 errors which are 2 and 17 by trying 2 different ways. I get similar errors with khinsider.py .
From the terminal I get this:
$ python3 thehylia.py dragon-ball-super-op01-single-chouzetsu-dynamic
/Library/Frameworks/Python.framework/Versions/3.6/Resources/Python.app/Contents/MacOS/Python: can't open file 'thehylia.py': [Errno 2] No such file or directory
From the Python Launcher I get this:
$ cd '/Users/erik/Documents/python/thehylia-master/' && '/usr/bin/pythonw' thehylia.py ps2-dragon-ball-z-3-op-ore-wa-tokoton-tomaranai '/Users/erik/Documents/python/thehylia-master/thehylia.py' && echo Exit status: $? && exit 1
Getting song list...
An unexpected error occurred! If it isn't too much to ask, please report to https://github.com/obskyr/thehylia/issues.
Attach the following error message:
Traceback (most recent call last):
File "thehylia.py", line 524, in <module>
sys.exit(doIt())
File "thehylia.py", line 493, in doIt
success = download(soundtrack, outPath, formatOrder=formatOrder, verbose=True)
File "thehylia.py", line 382, in download
return Soundtrack(soundtrackId).download(path, makeDirs, formatOrder, verbose)
File "thehylia.py", line 309, in download
os.makedirs(os.path.abspath(os.path.realpath(path)))
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 17] File exists: '/Users/erik/Documents/python/thehylia-master/thehylia.py'
Since I see you ask this I'll tell you in advance:
$ python3 -V
Python 3.6.5
pip3 show requests = nothing
pip3 show beautifulsoup4 = nothing
I am using a MacBook Pro OS X El Capitan version 10.11.6
Thanks in advance.
So youtube-dl has a -g
option:
-g, --get-url
Simulate, quiet but print URL
I was wondering if you can implement this. So basically the point is to pipe into some player in order to stream without having to download anything.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.