Skip to content

TypeError: 'NoneType' object has no attribute '__getitem__' #3

Description

Running the program for my music directory shows:

[album details found: power_lunch corporation/Fiscal Forecast in -15aa6792-fecc-4399-ab79-df3527eeded3.mp3
album details found: Piotr kamler/Piotr kamler in piotr-kamler--0964593f-b06d-4f9f-b5be-19492de73e75.mp3
album details found: A Z U R E S A N D S 大麻/C O N T A M I N A T I O N in -1d28d3a3-621f-435c-a580-60911d705829.mp3
Traceback (most recent call last):
  File "./coverlovin.py", line 273, in <module>
    sys.exit(main())
  File "./coverlovin.py", line 260, in main
    urls = get_img_urls([artist,album], fileType=fileType, fileSize=fileSize, resultCount=resultCount)
  File "./coverlovin.py", line 114, in get_img_urls
    for result in results['responseData']['results']:
TypeError: 'NoneType' object has no attribute '__getitem__'
](url)

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