# coding=utf-8
from postboy2 import PostBoy

if __name__ == '__main__':
    data = PostBoy('www.baidu.com').get()
    result = PostBoy('www.douban.com','utf-8').get()
    print(result['data']['title'])

# coding=utf-8
from postboy2 import PostBoy

if __name__ == '__main__':
    result = PostBoy('www.douban.com','utf-8').get()
    print(result['data']['title'])

update main.py