Giter Site home page Giter Site logo

rolv-apneseth / daily_hn Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 96 KB

A command line tool for displaying and opening links to the current best stories from news.ycombinator.com (Hacker News).

License: MIT License

Python 97.74% Makefile 2.26%
hacker-news news python webscraper

daily_hn's People

Contributors

rolv-apneseth avatar

Stargazers

 avatar

Watchers

 avatar

daily_hn's Issues

Broken by changes made to ycombinator site

Changes made to ycombinator mean that the currently used selectors are returning no elements, causing a crash when the newpad function is given a height of 0 due to stories being of length 0.

The selectors should be fixed and an appropriate error message added if no stories are found.

Change colours

Change to some colours which are more visually appealing.

Update urllib3 dependency

A warning from the github dependabot shows that urllib3 needs to be at least urllib3>=1.26.5, so I will update requirements.txt with the latest version of urllib3.

Add mouse support

Mainly just for scrolling the stories, but maybe clicking to open a link too if the implementation is not too involved.

Hackernews links

Links leading back to the hackernews website, for example 'Ask HN' headlines, don't work when clicked.

Update demo aPNG

Demo aPNG uses old script name and is not full width so it could be redone.

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.