matlink / gplaycli

Google Play Downloader via Command line
Other
1.01k stars 178 forks source link

AttributeError: 'GPlaycli' object has no attribute 'retrieve_time' #207

Closed MBus123 closed 5 years ago

MBus123 commented 5 years ago

By using the gplaycli command as follows, the error in the title appears: "gplaycli -t -g -ts -d "

The necessary attribute is set in the retrieve_token() method. Maybe one should initialize it earlier.

MBus123 commented 5 years ago

I added the line: "self.retrieve_time = time.time()" between line 156 and 157. That resolved the issue for me. However, i didn't really investigated why this attribute is necessary. So maybe one should initialize the attribute somewhere else.