Skip to content

CodeForces blocks default python user agent #23

@davidlowryduda

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.

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