Last active
August 29, 2015 14:07
-
-
Save ahurriyetoglu/f186e38ab52c4e5a3e5f to your computer and use it in GitHub Desktop.
Revisions
-
ahurriyetoglu revised this gist
Feb 25, 2015 . 1 changed file with 4 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,8 +2,10 @@ # Current IP address of twiqs.nl is: http://145.100.57.182 import requests urlto_twiqsNL = "http://145.100.57.222/cgi-bin/twitter" s = requests.Session() r = s.post(urlto_twiqsNL, data={"NAME":user_name, "PASSWD":passwd}) print('Cookie Created') #Twiqs.nl parameters; @@ -13,4 +15,4 @@ #Warning: The url may need to be updated from time to time! #Warning: Until the results are ready, you need to run the same query several times. # If the query period is long, it may take several hours. output1st = requests.get(urlto_twiqsNL, params=twiqParam, cookies=s.cookies) -
ahurriyetoglu revised this gist
Oct 5, 2014 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -7,10 +7,10 @@ print('Cookie Created') #Twiqs.nl parameters; twiqParam = {'SEARCH':'keyterm(s)', 'DATE':'yyyymmddhh-yyyymmddhh', 'DOWNLOAD':True, 'SHOWTWEETS':True} #Fetches the tweets from twiqs.nl #Warning: The url may need to be updated from time to time! #Warning: Until the results are ready, you need to run the same query several times. # If the query period is long, it may take several hours. output1st = requests.get("http://145.100.57.182/cgi-bin/twitter", params=twiqParam, cookies=s.cookies) -
ahurriyetoglu revised this gist
Oct 5, 2014 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -11,5 +11,6 @@ #Fetches the tweets from twiqs.nl #Warning: The url may need to be updated from time to time! #Warning: Until the results are ready, you need to run the same query several times. # If the query period is long, it may take several hours. output1st = requests.get("http://145.100.57.182/cgi-bin/twitter", params=payload, cookies=s.cookies) -
ahurriyetoglu revised this gist
Oct 5, 2014 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -10,5 +10,6 @@ payload = {'SEARCH':'keyterm(s)', 'DATE':'yyyymmddhh-yyyymmddhh', 'DOWNLOAD':True, 'SHOWTWEETS':True} #Fetches the tweets from twiqs.nl #Warning: The url may need to be updated from time to time! #Warning: Until the results become ready, you need to run the same query several times. output1st = requests.get("http://145.100.57.182/cgi-bin/twitter", params=payload, cookies=s.cookies) -
ahurriyetoglu renamed this gist
Oct 5, 2014 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
ahurriyetoglu created this gist
Oct 5, 2014 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,14 @@ # code to connect to twiqs.nl API # Current IP address of twiqs.nl is: http://145.100.57.182 import requests s = requests.Session() r = s.post("http://145.100.57.182/cgi-bin/twitter", data={"NAME":user_name, "PASSWD":passwd}) print('Cookie Created') #Twiqs.nl parameters; payload = {'SEARCH':'keyterm(s)', 'DATE':'yyyymmddhh-yyyymmddhh', 'DOWNLOAD':True, 'SHOWTWEETS':True} #Fetches the tweets from twiqs.nl #Warning = The url may need to be updated from time to time! output1st = requests.get("http://145.100.57.182/cgi-bin/twitter", params=payload, cookies=s.cookies)