https://ishuo.cn

#!/usr/bin/env python
# -*- coding:utf-8 -*-
import re
import requests

response = requests.get('https://ishuo.cn')
data = response.text
print(data)
r = re.findall('<div class="content">(.*?)</div>',data)
for i in r:
    print(i)

http://duanziwang.com/

#!/usr/bin/env python
# -*- coding:utf-8 -*-
import re
import requests

response =requests.get('http://duanziwang.com/')
data = response.text
result = re.findall('<a href="http://duanziwang.com/.*?.html">(.*?)</a>',data)



for i in result:
    print(i)

相关文章:

  • 2021-11-17
  • 2021-05-14
  • 2022-12-23
  • 2021-12-10
猜你喜欢
  • 2021-11-22
  • 2021-07-15
  • 2021-12-09
  • 2022-12-23
  • 2021-12-10
  • 2021-12-10
  • 2022-02-03
相关资源
相似解决方案