Coder Social home page Coder Social logo

destaq / reddit-wallpapers Goto Github PK

View Code? Open in Web Editor NEW
66.0 66.0 6.0 355 KB

Download the hottest 100 images from r/wallpaper and set them as your cycling Desktop background

License: MIT License

Python 100.00%
desktop personalization subreddit theme wallpaper wallpaper-changer wallpapers

reddit-wallpapers's Issues

BeautifulSoup Parser

I followed the readme and got this error:

Navigated to directory...
Removed previous files...

Processing image 1 of 100.Traceback (most recent call last):
  File "add_images.py", line 48, in <module>
    soup = BeautifulSoup(html_page, "lxml")
  File "/usr/local/lib/python3.7/site-packages/bs4/__init__.py", line 245, in __init__
    % ",".join(features))bs4.FeatureNotFound: Couldn't find a tree builder with the features you requested: lxml. Do you need to install a parser library?

Followed the instructions here and did a quick pip3 install lxml / pip3 install html5lib and it started processing images just fine
Screenshot 2020-06-24 at 14 41 49

No such file or directory

After processing all the images I do get this one error:

Writing image 1 of 90.Traceback (most recent call last):
  File "add_images.py", line 66, in <module>
    os.stat(f"image_{i+1}.{images[i][-3]}").st_size < 200000
FileNotFoundError: [Errno 2] No such file or directory: 'image_1.p'

and the scripts stops with only one image in the directory.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.