Desert Island Two: Planet Money

Desert Island Media Prep Day Two: Planet Money.



#https://www.npr.org/sections/money/127413729/planet-money/archive?date=12-31-2017
## Check out the date at the end? last day of month is the archive page
# Weird episode numbering, going to make folders so they stay in roughly date order
import time
import requests
from bs4 import BeautifulSoup
import os.path
def download(href, title, extension="mp3", dirname='.'):
    filename = "%s.%s" % (title, extension)
    filename = filename.replace("/", "-")
    # todo, path management
    local_filename = os.path.join(dirname, filename)
    if not os.path.exists(dirname):
        print("making dir %s" % dirname)
        os.makedirs(dirname)
    local_filename = os.path ...

read more...


Desert Island: The Dollop

I'm going on a trip. The internet will probably be pretty horrible, at least at first.


I've been asking everyone their Desert Island Recommendations. One of mine is The Dollop. This is how you download every episode of The Dollop with a little bit of python.


You have to install python3, requests, and beautifulsoup4. I won't help you with that, but there are a load of good resources.


import time
import requests
from bs4 import BeautifulSoup
def download(href, title, extension="mp3"):
    filename = "%s.%s" % (title, extension)
    filename = filename.replace("/", "-")
    # todo, path management
    local_filename = filename
    r = requests.get ...

read more...


Mark Equidistant Points on a Spiral

This story sounds totally implausible, so I'm going to give it in exact details (while leaving out the name of the second party, until they want to confirm it from their point of view)

I had a dinner date with my wife's parents. I was running ahead of schedule and I stopped at House of Shields, hoping to find a barstool where I could sit and read. 5:30. No stools. No booths. Standing room only. On to the next spot, Novella. Despite the full bar, I ordered a drink and leaned against a pillar to read. After ...

read more...


We Need You

Hey.

I want you to live.

I want you to thrive.

We need you.

This is a post about fire safety with practical advice for making constant improvements.

We’re burying friends. That sucks. Grit your teeth and make some commitments so this happens less often.

Tragic situations often arise out of indifference toward dangerous situations.

We have to do better and this is a team effort.

I want you to internalize some things about safety. Some of this stuff ought to be as normal as knowing how to find a bathroom when you need to pee. Do you know ...

read more...



Issac Kelly