Skip to content

jschaves/colletct_data_p2pvalue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

colletct_data_p2pvalue

Get data for p2pvalue
Script to collect data from Internet

Script google_result_stats

File google_result_stats.iim should be used with Imacros plugin for Firefox.
Set WAIT SECONDS=10 to the time in seconds to wait till next search, taking into account that, if you go too fast, Google can block you.

http://localhost/colletct_data_p2pvalue/google_result_stats/

Enter this code in Imacros:
VERSION BUILD=8820413 RECORDER=FX
SET !EXTRACT_TEST_POPUP NO
TAB T=1
URL GOTO=http://localhost/colletct_data_p2pvalue/google_result_stats
TAG POS=1 TYPE=A ATTR=TXT:Buscar
TAG POS=1 TYPE=DIV ATTR=ID:resultStats EXTRACT=TXT
WAIT SECONDS=10
URL GOTO=http://localhost/colletct_data_p2pvalue/google_result_stats/get_google_searchs.php?n=&r={{!EXTRACT}}
The rest of the script is used from this path:

http://localhost/colletct_data_p2pvalue/

This is a form where you can select the type of information search:
Google PageRank
Alexa Rank
Share links Facebook & Linkedin
Get Site Technologies
Get Followers Twitter
Get Followers and views Google+
Get GitHub Commits Branches Releases
You have to give write rights to txt files and folders.
As you know, in Internet, everything changes too fast, therefore the scripts might stop working: a mere character change can lead to failure of regular expression searches with the scripts.
Also the language has to be considered, you should check the code and do necessary changes in the text, according to the language; for instance, as scripts are performing searches in Spanish, if we want to search in another language:
	//search Google 
	preg_match_all("|Aproximadamente (.*) resultados \(|", $_GET['r'], $t);
In English:
	//search Google 
	preg_match_all("|Approximately (.*) results \(|", $_GET['r'], $t);

These scripts were developed in a very tight deadline, so I know they can be improved, and any comments or suggestions, and direct collaboration on this code are highly appreciated.

About

Get data for p2pvalue

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published