0
I want to write a code for giving out the names of the characters in tv series or movies using a shell script... I plan to do that by extarcting the page source of the google search result for which i'll be requiring the page source of the links... for eg this link I tried directly using wget but it gives error code 8 and also curl -L feeds the "wrong" page source
Are you sure that it is the "wrong" page source? Google likely uses clientside code (JavaScript) to populate the character data once the page loads, i.e., the page source you receive won't look like the source of the browser because the source displayed in the browser has been changed by JavaScript after page load.
wget
andcurl
do not do any processing. – varlogtim – 2016-11-15T20:31:14.550