import urllib.request as r
from bs4 import BeautifulSoup
import json
import sys
import importlib
import requests

def articleSecond():
    url = ''
    # 用get函数发送GET请求获取响应
    res = requests.get(url)
    # 设置响应的编码格式utf-8默认格式为ISO-8859-1),防止中文出现乱码
    res.encoding = 'utf-8'
    f2 = open('rss.html', 'w', encoding='utf-8')
    f2.write(res.text)