KeithCu / LinuxReport

Customizable Linux news site based on Python / Flask

Home Page:https://covidreport.keithcu.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A few architectural issues

KeithCu opened this issue · comments

  • Consider refactoring the two URL dictionaries into one, and two URL lists for each website.
  • It makes it easier to share feeds between both sites.
  • Most sites return results in less than 1s, but some websites take 2 or 3 seconds. Try to return stale version, and create a thread to fetch. This way typically no one will ever have to wait for an HTTP fetch.