https://github.com/complexlogic/firetv-screensaver-scraper
A web scraper to download the Fire TV screensaver images
https://github.com/complexlogic/firetv-screensaver-scraper
Last synced: about 1 month ago
JSON representation
A web scraper to download the Fire TV screensaver images
- Host: GitHub
- URL: https://github.com/complexlogic/firetv-screensaver-scraper
- Owner: complexlogic
- Created: 2022-02-07T01:18:33.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-02-07T01:42:36.000Z (about 3 years ago)
- Last Synced: 2025-02-03T20:11:34.595Z (3 months ago)
- Language: Python
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Fire TV Sreensaver Scraper
The Fire TV streaming device has a screensaver mode that showcases many beautiful images. Amazon has made these images available for download [here](https://amazonfiretv.blog/all-182-screensavers-on-your-amazon-fire-tv-and-their-locations-photos-71e9f756067f). Unfortunately, there is no mass download link, and it would be extremely cumbersome to download all 182 images individually. This repo contains a simple python script that will scrape the webpage and save all 182 images to your current working directory. I have also uploaded the scraped images in a .zip file [here](https://github.com/complexlogic/firetv-screensaver-scraper/releases/download/v1.0/images.zip), in case you don't want to run the python script.I use these images as backgrounds for my project [Flex Launcher](https://github.com/complexlogic/flex-launcher).
## Usage
The script depends on the modules Beautiful Soup and Requests. Make sure you have them installed.
```
pip3 install beautifulsoup4 requests
```Then, simply run the script from the python interpreter:
```
python scraper.py
```## Improving Contrast For Background Use
Many of the images in the set are quite bright, which results in poor contrast and readability when images and text are drawn over top. I use the excellent utility [ImageMagick](https://github.com/ImageMagick/ImageMagick) to improve the contast by darkening the images and applying a slight gaussian blur. The images can be mass converted using a Bash script, such as the following:```
#!/bin/bash
OUTPUT_DIR=./backgrounds
OUTPUT_RESOLUTION=1920x1080
mkdir -p "$OUTPUT_DIR"
for file in *.jpg; do echo "Converting $file"; convert "$file" -fill black -colorize 60% -blur 0x1.5 -resize $OUTPUT_RESOLUTION "$OUTPUT_DIR/$(basename $file)"; done
```