मेरे पास निम्न कोड है, और मुझे नहीं पता कि अगले पृष्ठ के लिंक कैसे मुद्रित करें, अगले पृष्ठों पर कैसे जाएं?Google कस्टम खोज अगले पृष्ठ
#!/usr/bin/python2.4
# -*- coding: utf-8 -*-
import pprint
from apiclient.discovery import build
def main():
service = build("customsearch", "v1",
developerKey="")
res = service.cse().list(
q='lectures',
cx='013036536707430787589:_pqjad5hr1a',
num=10, #Valid values are integers between 1 and 10, inclusive.
).execute()
for value in res:
#print value
if 'items' in value:
for results in res[value]:
print results['formattedUrl']
if __name__ == '__main__':
main()