def product_search():
# Checks the individual products for the recaptcha sitekey
print("\nFound {} product links on page {}.\n".format(len(product_links), (params['start']+1)))
index = 0
for product in product_links:
index += 1
print('{} of {}: Checking for sitekey in: {}'.format(index + len(product_links)*(params['start']), len(product_links) * (params['start']+1), product))
site_key_results = sitekey_scraper(str(product))
if site_key_results:
pyperclip.copy(site_key_results)
print("\nFollowing Recaptcha Sitekey has been copied to clipboard:\n\n{}\n".format(
site_key_results))
return True
return False
# # where the magic happens, u feel?
评论列表
文章目录