Skip to content

Getting an unexpected error no matter what "Nonetype" has no object to "find" #15

@OracleAnthony

Description

@OracleAnthony

Traceback (most recent call last):
File "E:\khinsider-master\khinsider.py", line 681, in
sys.exit(doIt())
File "E:\khinsider-master\khinsider.py", line 628, in doIt
success = download(soundtrack, outPath, formatOrder=formatOrder, verbose=True)
File "E:\khinsider-master\khinsider.py", line 453, in download
soundtrack.name # To conistently always load the content in advance.
File "E:\khinsider-master\khinsider.py", line 160, in lazyVersion
setattr(self, attrName, func(self))
File "E:\khinsider-master\khinsider.py", line 302, in name
return self._contentSoup.find('h2').get_text(strip=True)
File "E:\khinsider-master\khinsider.py", line 160, in lazyVersion
setattr(self, attrName, func(self))
File "E:\khinsider-master\khinsider.py", line 294, in _contentSoup
if contentSoup.find('p').string == "No such album":
AttributeError: 'NoneType' object has no attribute 'find'

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