Python Beautifulsoup img tag parsing

后端 未结 6 1568
旧巷少年郎
旧巷少年郎 2021-01-06 02:48

I am using beautifulsoup to parse all img tags which is present in \'www.youtube.com\'

The code is

import urllib2
from BeautifulSoup import Beautiful         


        
6条回答
  •  星月不相逢
    2021-01-06 03:14

    Explicitly using soup.findAll(name='img') worked for me, and I don't appear to be missing anything from the page.

提交回复
热议问题