更新
This commit is contained in:
12
Python-100-Days/Day66-75/code/example10.py
Normal file
12
Python-100-Days/Day66-75/code/example10.py
Normal file
@@ -0,0 +1,12 @@
|
||||
import robobrowser
|
||||
|
||||
|
||||
def main():
|
||||
b = robobrowser.RoboBrowser(parser='lxml')
|
||||
b.open('https://v.taobao.com/v/content/live?catetype=704&from=taonvlang')
|
||||
for img_tag in b.select('img[src]'):
|
||||
print(img_tag.attrs['src'])
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
Reference in New Issue
Block a user