Tieba Comic Download

I have written a commandline using python, which can download the comic in “tieba.baidu.com”.

Because I can find the updated comic in “tieba”. But I prefer to use my own comic viewer to read the comic images. However, the image files in “tieba” are not named in sequence. So, if I want to save the images, I need to download the image 1 by 1 and rename them 1 by 1 in sequence. That is a repetitive and boring task.

So, the commandline I wrote, will download all the images in a tieba link, and rename all the images in sequence.

If you are interested, you can try it here.

3 thoughts on “Tieba Comic Download

  1. darn it, doesnt work, I get this when setting the proxy to “0”:
    Traceback (most recent call last):
    File “pydownloader.py”, line 183, in
    File “pydownloader.py”, line 102, in HttpGetPageProxy
    File “httplib.pyc”, line 862, in request
    File “httplib.pyc”, line 885, in _send_request
    File “httplib.pyc”, line 856, in endheaders
    File “httplib.pyc”, line 728, in _send_output
    File “httplib.pyc”, line 695, in send
    File “httplib.pyc”, line 663, in connect
    socket.gaierror: (11001, ‘getaddrinfo failed’)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s