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

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
主站蜘蛛池模板: 龙游县| 望谟县| 绵阳市| 南阳市| 温宿县| 通辽市| 启东市| 宁武县| 盐城市| 新晃| 华池县| 衡阳县| 耒阳市| 恭城| 宣恩县| 新建县| 乌审旗| 明星| 南木林县| 横山县| 龙川县| 西宁市| 汤阴县| 原平市| 泸定县| 四会市| 古交市| 邯郸县| 榆林市| 通化县| 保亭| 沙田区| 广平县| 江孜县| 北票市| 靖宇县| 阳朔县| 科尔| 武鸣县| 纳雍县| 德惠市|