parameters: (data)
return_statement: return gtfs_feeds_urls
docstring: Extracts feed urls from the GTFS json description.
docstring_summary: Extracts feed urls from the GTFS json description.
docstring_tokens: Extracts feed urls from the GTFS json description .
function: def get_feeds_links(data):
      """Extracts feed urls from the GTFS json description."""
      gtfs_feeds_urls = []
  
      for feed in data:
          if feed["feed_format"] != "gtfs" or feed["spec"] != "gtfs":
              continue
  
          if "url" in feed and feed["url"] is not None and feed["url"]:
              gtfs_feeds_urls.append(feed["url"])
  
      return gtfs_feeds_urls
function_tokens: def get_feeds_links ( data ) : gtfs_feeds_urls = [ ] for feed in data : if feed [ "feed_format" ] != "gtfs" or feed [ "spec" ] != "gtfs" : continue if "url" in feed and feed [ "url" ] is not None and feed [ "url" ] : gtfs_feeds_urls . append ( feed [ "url" ] ) return gtfs_feeds_urls