Changes

Jump to navigation Jump to search
1,214 bytes added ,  17:14, 29 July 2016
no edit summary
|Primary Billing=AccNBER01
}}
 
=URL FINDER #1=
==Description==
**The function explores the HTML source code of the URL and finds all parts of the source code with the <p> tag to indicate a text paragraph.
**Then, the function goes though each paragraph, and if it is above a certain number of characters (eliminate for short, unnecessary information), the function adds the description in a new column of the csv file under "description".
 
=URL Finder #2=
 
The program takes the input of a csv file
*From that csv file, the program takes the search strings in the first column of that csv file and puts the searches through the google custom search API and compiles the results.
*From there, the program forms a new csv file with 4 columns
**In the first column is the search string from the input file.
**In the second is all of the URL results that came up from the google custom search.
**In the third is a short description of the content of the URL in column 2 .
**In the fourth is a number, indicating the order of the search result. for example, a “1” would indicate that the url in that row was the first result that came up from searching the corresponding search string in the row.
 
You only have to adjust three parts of the code to make the program work.
*Replace the address in path1read to the address of your input csv file
*Replace the address in path1write to the address of a new csv file you want to output the data into
*Lastly, the program needs a place to store all of its results from the google searches so wherever you want to store it, replace the address in out_path to the address of that place.
383

edits

Navigation menu