然后来写两个辅助函数. 分别用于请求网页和xpath解析. 函数会让我们后面的程序更加简洁方便. ```python. def get_tag(response, tag):. html = etree.
確定! 回上一頁