hi, all<br>I just write a small python program using to download cacti generate graph. It&#39;s incredibly powerful. Bump into a problem: since there is only save_html I can use, I use this command to do all the saving. But in some certain url, program raise such exception:<br>
<br>==&gt; at <a href="http://127.0.0.1/graph_image.php?local_graph_id=3727&amp;rra_id=0&amp;view_type=tree&amp;graph_start=1259337600&amp;graph_end=1259424000">http://127.0.0.1/graph_image.php?local_graph_id=3727&amp;rra_id=0&amp;view_type=tree&amp;graph_start=1259337600&amp;graph_end=1259424000</a><br>
Traceback (most recent call last):<br><br> uc = unichr(int(name, base))<br>ValueError: invalid literal for int() with base 10: &#39;f&#39;<br>You have new mail in /var/spool/mail/root<br><br>after some digging, I think it the unescape function dealling with html run into some illegal char and cause the exception. Is there some other command I can use to save the octet object or can I use save_html command in some other ways can avoid this situation? thanks in advance.<br>
<br>Mahakala<br>