Navigation

    GitHub中文社区
    • GitHub排行榜

    论坛

    • Login
    • Categories
    • Recent
    • Tags
    • Popular

    Python爬虫

    建议 & 反馈
    3
    3
    1206
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • liar12138
      liar12138 last edited by

      爬虫中使用正则解析在调用re.findall时,写入数据时为什么会报错
      d2edf8cf-c12e-477a-9eba-efedc112328c-image.png

      1 Reply Last reply Reply Quote 0
      • k1995
        k1995 last edited by

        要么数据有问题,要么正则表达式不对。先print下detial_page看下数据对不

        yanxiao333 1 Reply Last reply Reply Quote 0
        • yanxiao333
          yanxiao333 @k1995 last edited by

          我猜是正则表达式中多了re.S去掉试试.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post