def get_thumbnail_url(self):
for resolution in self.resolutions:<EOL><INDENT>temp_thumbnail_url = self.pattern_thumbnail_url.format(<EOL>code=self.code, protocol=self.protocol, resolution=resolution)<EOL>if int(requests.head(temp_thumbnail_url).status_code) < <NUM_LIT>:<EOL><INDENT>return temp_thumbnail_url<EOL><DEDENT><DEDENT>return None<EOL>
Returns thumbnail URL folded from :py:data:`pattern_thumbnail_url` and
parsed code.

:rtype: str