loader
pttman

pttman Muster

屬於你的大爆卦
pttman

pttman Muster

屬於你的大爆卦
pttman

pttman Muster

屬於你的大爆卦
  • Ptt 大爆卦
  • BeautifulSoup select
  • 離開本站
你即將離開本站

並前往https://www.zhihu.com/question/42181509

beautifulsoup怎么获取指定section下的指定a标签的href? - 知乎

soup.select('section[id=one] a')[0]['href'] 或. soup.select('#one a')[0]['href']. 正则熟悉的话可以自己撸正则. 其他模块. XPath 或者pyquery 模块也是不错的选择 ...

確定! 回上一頁

查詢 「BeautifulSoup select」的人也找了:

  1. beautifulsoup select用法
  2. beautifulsoup select多條件
  3. BeautifulSoup select class
  4. BeautifulSoup select find
  5. BeautifulSoup select id
  6. python select爬蟲
  7. Python select
  8. python select用法

關於我們

pttman

pttman Muster

屬於你的大爆卦

聯終我們

聯盟網站

熱搜事件簿