|
@xkcklzn that doesnt make any sense. Your script is using the exact same graphql endpoint the recipe uses it is probably copied directly from the recipe. And looking at the code its calling scrape_economist_edition() with use_web=True which means the graphql endpoint is not being used at all. The only reason your script works is that it uses a different browser type (requests versus mechanize and different user agent) and not enough people have used it, so the anti bot protection hasnt learned to fingerprint it. You shouldnt blindly trust what AI tells you.
|