def autodiscover(self, url):
headers, response = fetch_url(url)<EOL>if headers['<STR_LIT>'].split('<STR_LIT:;>')[<NUM_LIT:0>] in ('<STR_LIT:application/json>', '<STR_LIT>'):<EOL><INDENT>provider_data = json.loads(response)<EOL>return self.store_providers(provider_data)<EOL><DEDENT>
Load up StoredProviders from url if it is an oembed scheme