AttributeError: "str' object has no attribute 'text
17:23 07 Aug 2017

I make script for shopify cart since it is impossible to purchase manually, when I ran the script to my command prompt, it says ,

line 109, in AttributeError: "str' object has no attribute 'text

Scrape Product Info based on selected colors

        if blue and cinder:
            productInfo(urlBlueResponse.text)
            productInfo(urlCinderResponse.text)
        elif blue:
            productInfo(urlBlueResponse.text)
        elif cinder:
            productInfo(urlCinderResponse.text)
        else:
            print(Fore.RED + timestamp

I was told it was from a capitalization mismatch, can somebody please explain this to me. I am new to coding and I want to learn all I can.

python attributes command