I'd like to grab the title from a url submitted by a user.

I don't trust users much, so I want to timeout the call.

I'm using urllib.urlopen to grab the page.

Is there a better tool?

Is there a Django-safe way to wrap a grabTitle function so that after
a few seconds or so a default title is used?

Thanks,
Ivan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to