HAI.py

作者: gu_lao_rou-p 分类: Python 发布时间: 2020-09-12 19:21
import requests
a = 5
b = input('你要做什么?\n1.爬小说')
if b == '1':
    while True:
        res = requests.get('http://www.xbiquge.la/13/13959/593902%s.html' % a)
        res.encoding = 'utf-8'
        novel = res.text
        print(novel[:])
        c = input('1.下一章')
        if c == '1':
            a += 1
        else:
            print('bye~~~')
            break
else:
    print('bye~~')


Warning: Undefined variable $aria_req in /www/wwwroot/l.lvovl.cn/wp-content/themes/JieStyle-Two-master/comments.php on line 26

Warning: Undefined variable $aria_req in /www/wwwroot/l.lvovl.cn/wp-content/themes/JieStyle-Two-master/comments.php on line 27

Warning: Undefined variable $aria_req in /www/wwwroot/l.lvovl.cn/wp-content/themes/JieStyle-Two-master/comments.php on line 28
标签云