Skip to content

Instantly share code, notes, and snippets.

@wxbaum
Last active February 20, 2019 15:31
Show Gist options
  • Select an option

  • Save wxbaum/a76a512e9060fffc977e83ccaec8c342 to your computer and use it in GitHub Desktop.

Select an option

Save wxbaum/a76a512e9060fffc977e83ccaec8c342 to your computer and use it in GitHub Desktop.

Revisions

  1. wxbaum revised this gist Feb 20, 2019. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion googlesearch_ex.txt
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,5 @@
    from googlesearch import search
    list_urls = []
    for url in search("site:twitter.com lists " + keyword_string):
    # do stuff
    if '/lists/' in url:
    list_urls.append(url)
  2. wxbaum revised this gist Feb 20, 2019. 2 changed files with 3 additions and 3 deletions.
    3 changes: 0 additions & 3 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -1,3 +0,0 @@
    from googlesearch import search
    for url in search("site:twitter.com lists " + list_contains_string):
    # do stuff
    3 changes: 3 additions & 0 deletions googlesearch_ex.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    from googlesearch import search
    for url in search("site:twitter.com lists " + keyword_string):
    # do stuff
  3. wxbaum created this gist Feb 20, 2019.
    3 changes: 3 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    from googlesearch import search
    for url in search("site:twitter.com lists " + list_contains_string):
    # do stuff