Using Beautiful Soup to entangle bookmarks.html

Diez B. Roggisch deets at nospam.web.de
Thu Sep 7 20:14:05 CEST 2006


waylan schrieb:
> Diez B. Roggisch wrote:
>> suppose it is well-formed, most probably even xml.
> 
> Maybe not. Otherwise, why would there be a script like this one[1]?
> Anyway, I found that and other scripts that work with firefox
> bookmarks.html files with a quick search [2]. Perhaps you will find
> something there that is helpful.

I have to admit: I didn't check on that file, and simply couldn't 
believe it was so badly written as it apparently is.

But I was at least capable of shoving it through HTMLParser. But I'm not 
sure if that is of any use.

Excuse me causing confusion.

Diez



More information about the Python-list mailing list