Skip to content

CodeForces blocks default python user agent #23

Description

@davidlowryduda

Recently, CF began blocking the default urllib2 python user agent (at least for me). This means that requests made using this script fail with a "Forbidden 403" error.

Without looking to see if CF has a preferred way of interacting, I'll note that manually changing the user agent allows this simple script to continue working.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions