Giter Club home page Giter Club logo

thehylia's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

thehylia's Issues

Improvement suggestions

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.

Use link as input

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.

Errno 2 and Errno 17

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.

"TypeError: 'NoneType' object is not callable" occurs when trying any album

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

Stream option

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.

Proxy related error

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.

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.