def build_image_path(self, src):
        """\
        This method will take an image path and build
        out the absolute path to that image
        * using the initial url we crawled
          so we can find a link to the image
          if they use relative urls like ../myimage.jpg
        """
        o = urlparse(src)
        # we have a full url
        if o.netloc != '':
            return o.geturl()
        # we have a relative url
        return urljoin(self.article.final_url, src)
def build_image_path(self, src):
        
        o = urlparse(src)
        
        if o.netloc != '':
            return o.geturl()
        
        return urljoin(self.article.final_url, src)
def build_image_path ( self , src ) : o = urlparse ( src ) # we have a full url if o . netloc != '' : return o . geturl ( ) # we have a relative url return urljoin ( self . article . final_url , src )
\
        This method will take an image path and build
        out the absolute path to that image
        * using the initial url we crawled
          so we can find a link to the image
          if they use relative urls like ../myimage.jpg
\ This method will take an image path and build out the absolute path to that image * using the initial url we crawled so we can find a link to the image if they use relative urls like .. / myimage . jpg