webcache/yandex.py
def download_cache(cache_url):
        '''
        Extract content from a cached Yandex url
        '''
        # FIXME: do not get date and url
        r = requests.get(cache_url)
        if r.status_code == 200:
            return {
                'success': True,
                'data': r.text[:-90],
                'cacheurl': cache_url,
            }
        else:
            return {'success': False}

        Extract content from a cached Yandex url
        
Extract content from a cached Yandex url
Extract content from a cached Yandex url
def download_cache(cache_url):
        r = requests.get(cache_url)
        if r.status_code == 200:
            return {
                'success': True,
                'data': r.text[:-90],
                'cacheurl': cache_url,
            }
        else:
            return {'success': False}
def download_cache ( cache_url ) : r = requests . get ( cache_url ) if r . status_code == 200 : return { 'success' : True , 'data' : r . text [ : - 90 ] , 'cacheurl' : cache_url , } else : return { 'success' : False }
Extract content from a cached Yandex url
Extract content from a cached Yandex url
'''
        Extract content from a cached Yandex url
        ''' # FIXME: do not get date and url
cache_url