官术网_书友最值得收藏!

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
主站蜘蛛池模板: 华阴市| 合肥市| 宜兴市| 交口县| 永靖县| 临泉县| 衢州市| 德阳市| 东乌珠穆沁旗| 会理县| 辽宁省| 循化| 汝城县| 廉江市| 綦江县| 寿宁县| 黑龙江省| 稷山县| 岢岚县| 宜城市| 关岭| 永兴县| 清徐县| 石门县| 五家渠市| 峡江县| 开远市| 永德县| 遵化市| 兴仁县| 新竹县| 华宁县| 武宁县| 保靖县| 三河市| 遵化市| 平陆县| 台湾省| 会宁县| 三门峡市| 蒙阴县|