Skip to content

Cartoon downloader created for downloading norwegian cartoons for my own viewing pleasure

Notifications You must be signed in to change notification settings

asghol/node-cartoon-downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Cartoon Service

I am creating a cartoon service that I want to deploy to my Raspberry Pi which will on given intervals download todays cartoon strips. Currently I am only interested in Lunch, a popular norwegian cartoon that I have heard are also release in a number of other countries as well.

How to fetch a lunch cartoon

  • Todays time in unix time and devide by 1000
  • Name of the cartoon ('lunch')
  • The url for the php script

Example: http://www.dagbladet.no/tegneserie/pondusarkiv/serveconfig.php?date=1420481375&strip=lunch

What we neeed

  • Some schedule service (raspbian comes with 'cron' so we can simply use that)

How do we want to save it

In my opinion this isn't all that important as long as they are in the correct order. To make it easy to understan I propose a simple date as the filename in the first iteration of this cartoon fetch script.

Example: 2015.01.15.png

Current status

It is now possible to download today's cartoons from dagbladet.no by running 'node cartoon.js lunch'. I was able to fetch the following cartoons with their respective argument for the script:

  • Lunch (lunch)
  • Kellermannen (kellermannen)
  • Nemi (nemi)
  • Pondus (pondus)
  • Rocky (rocky)
  • Zelda (zelda)
  • Gjesteserie Postapokalyptisk (gjesteserie/postapokalyptisk)

Currently not working:

  • Fagprat

About

Cartoon downloader created for downloading norwegian cartoons for my own viewing pleasure

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published