#NEWLINE# def get_all_queries( ) : #NEWLINE# #INDENT# wiki = 'https://github.com/neo4j-contrib/graphgist/wiki' #NEWLINE# urls = get_github_gist_urls ( requests . get ( wiki ) . text ) #NEWLINE# urls = list ( set ( urls ) ) #NEWLINE# urls = [ url for url in urls if url ] #NEWLINE# raw_urls = [ get_raw_url ( url ) for url in urls ] #NEWLINE# raw_urls = [ raw_url for raw_url in raw_urls if raw_url ] #NEWLINE# queries = [ ] #NEWLINE# for raw_url in raw_urls : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# queries . extend ( get_queries ( raw_url ) ) #NEWLINE# #UNINDENT# except Exception as e : #NEWLINE# #INDENT# print ( e ) #NEWLINE# print ( raw_url ) #NEWLINE# continue #NEWLINE# #UNINDENT# #UNINDENT# isolated = [ isolate_keywords ( query ) for query in queries ] #NEWLINE# return isolated