A simple code that can crawl tieba@baidu, just look at the author's word...

you can have a look.