original_docstring: Retrive scrapy crawler and accesses pipleines settings
docstring: Retrive scrapy crawler and accesses pipleines settings
docstring_tokens: Retrive scrapy crawler and accesses pipleines settings
code: def from_crawler(cls, crawler):
          """Retrive scrapy crawler and accesses pipleines settings"""
  
          # Get Postgres URL from settings
  
          pg_url = crawler.settings.get('PG_PIPELINE_URL', None)
  
          # Ukoliko ga nema ugasi pipeline
          if not pg_url:
              raise NotConfigured
  
          return cls(pg_url)
code_tokens: def from_crawler ( cls , crawler ) : pg_url = crawler . settings . get ( 'PG_PIPELINE_URL' , None ) if not pg_url : raise NotConfigured return cls ( pg_url )
short_docstring: Retrive scrapy crawler and accesses pipleines settings
short_docstring_tokens: Retrive scrapy crawler and accesses pipleines settings
comment: """Retrive scrapy crawler and accesses pipleines settings"""$SEP$# Get Postgres URL from settings$SEP$# Ukoliko ga nema ugasi pipeline