Skip to content

Error trying to download songs from my playlist #3

@helenou

Description

@helenou

Hello, I get error that it didn't find html parser. I have all dependency installed.
Please help

`python download.py -f="Songs.txt"
Videos:
0 Chet Baker - I Remember You - Remastered (HhpXk5mK3m4)

Direct Downloading
/Library/Python/2.7/site-packages/bs4/init.py:181: UserWarning: No parser was explicitly specified, so I'm using the best available HTML parser for this system ("html.parser"). This usually isn't a problem, but if you run this code on another system, or in a different virtual environment, it may use a different parser and behave differently.

The code that caused this warning is on line 86 of the file download.py. To get rid of this warning, change code that looks like this:

BeautifulSoup([your markup])

to this:

BeautifulSoup([your markup], "html.parser")

markup_type=markup_type))
Traceback (most recent call last):
File "download.py", line 86, in
youtube_search(args)
File "download.py", line 54, in youtube_search
downloadlink = 'http://www.youtubeinmp3.com/download/%s' % soup.find(id='download')['href']
TypeError: 'NoneType' object has no attribute 'getitem'`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions