Esempio n. 1
0
 def _fix_absolute_images(self, base_url):
     for image in self.soup.find_all('img', src=True):
         image['src'] = absolute_url(image['src'], base_url)
Esempio n. 2
0
 def _fix_absolute_images(self, base_url):
     for image in self.soup.find_all('img', src=True):
         image['src'] = absolute_url(image['src'], base_url)
Esempio n. 3
0
 def _fix_absolute_links(self, base_url):
     for link in self.soup.find_all('a', href=True):
         link['href'] = absolute_url(link['href'], base_url)
Esempio n. 4
0
 def _fix_absolute_links(self, base_url):
     for link in self.soup.find_all('a', href=True):
         link['href'] = absolute_url(link['href'], base_url)