- Python Web Scraping Cookbook
- Michael Heydt
- 92字
- 2021-06-30 18:44:11
Working with Images, Audio, and other Assets
In this chapter, we will cover:
- Downloading media content on the web
- Parsing a URL with urllib to get the filename
- Determining type of content for a URL
- Determining a file extension from a content type
- Downloading and saving images to the local file system
- Downloading and saving images to S3
- Generating thumbnails for images
- Taking website screenshots with Selenium
- Taking a website screenshot with an external service
- Performing OCR on images with pytessaract
- Creating a Video Thumbnail
- Ripping an MP4 video to an MP3
推薦閱讀
- EJB 3.1從入門到精通
- Hands-On Chatbots and Conversational UI Development
- 網(wǎng)絡(luò)的琴弦:玩轉(zhuǎn)IP看監(jiān)控
- Getting Started with WebRTC
- 互聯(lián)網(wǎng)安全的40個(gè)智慧洞見:2014年中國(guó)互聯(lián)網(wǎng)安全大會(huì)文集
- 大話社交網(wǎng)絡(luò)
- 中小型局域網(wǎng)組建、管理與維護(hù)實(shí)戰(zhàn)
- 區(qū)塊鏈輕松上手:原理、源碼、搭建與應(yīng)用
- Learning Windows 8 Game Development
- 語(yǔ)音信號(hào)處理及Blackfin DSP實(shí)現(xiàn)
- 大型企業(yè)微服務(wù)架構(gòu)實(shí)踐與運(yùn)營(yíng)
- 異構(gòu)蜂窩網(wǎng)絡(luò)關(guān)鍵理論與技術(shù)
- Microsoft Power Platform Enterprise Architecture
- 云工廠:開啟中國(guó)制造云時(shí)代
- Building RESTful Web Services with .NET Core