RSSAmplifier

Feed :: TheOrangeOne · Nov 28, 2023

Changing the user-agent of urllib

0
Sign in to vote or save

This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.

If you need to make HTTP requests in Python, you're probably using the fantastically simple and ergonomic requests library (or httpx in the async world). However, it's another dependency to manage and keep up-to-date. If you want to make HTTP requests without an additional dependency, or another library author has made that decision for you, urllib is the standard library tool for you. urllib is…

Read on theorangeone.net

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.