|
|
|
|
49
|
results_json = loads(extract_text(results_raw_json))
|
49
|
results_json = loads(extract_text(results_raw_json))
|
50
|
|
50
|
|
51
|
if len(results_json['web']['results']) > 0:
|
51
|
if len(results_json['web']['results']) > 0:
|
52
|
- return _general_results(results_json['web']['results'])
|
|
|
|
|
52
|
+ return _general_results(results_json['web']['results']['webSearch']['results'])
|
53
|
|
53
|
|
54
|
if len(results_json['images']['results']) > 0:
|
54
|
if len(results_json['images']['results']) > 0:
|
55
|
return _images_results(results_json['images']['results'])
|
55
|
return _images_results(results_json['images']['results'])
|