To be more specific:
My delicious account is a Yahoo ID so access via OAuth is required.
It's for my use only to add/remove bookmarks. I have the password.
It's a command line python program, not web-based.
My question is:
Is it possible to access my delicious account without being redirected to a Yahoo OAuth authorization page? Any examples are appreciated.
Yes, but only if you go through the authorisation process once, to link your account to your application.
After that, you can re-authorise your existing information by using the session ID supplied from the original request.
I think http://developer.yahoo.com/oauth/guide/oauth-refreshaccesstoken.html has the detail.