Udemy "Web Scraping with Python-Introduction- [First Steps to Business Efficiency]" 14-16 (until the end of §5)
--How to use format --How to get all the information of pages whose url ends with /? Page = 1 or 2 --Scraped information is str type --Pandas is useful for creating 2D tables
You can embed arguments in the part surrounded by curly braces with .format (). → If you do like below, page = 1, page = 2, page = 3.
.How to use format
for page in range(1,4):
'page={}'.format(page)
If you use this as an argument of browser.get (), you can get the information of the serial number page.
https://qiita.com/thesugar/items/1cd91eb3f5de7d390490 I should have read it when building the environment
Watch the video at double speed and grasp the contents → I studied by hitting the editor while watching the same video at constant speed.
Recommended Posts