View Full Version : 5-22-18 - Adam Thompson and Machination Mead Works - going pro

05-22-2018, 05:35 PM
5-21-18 We're back! Tonight we're talking with Adam Thompson, owner of Machination Meadworks in Loveland, Colorado. Adam envisioned Machination Mead Works in 2013 and began the long path to starting his own meadery. Now with over a decade of brewing experience and a few dozen medals, including five Mazer Cups, he is ready to share his mead with the world. It has been a long uphill fight but his time in the Army’s 3rd Ranger Battalion (Thank you for your service!! [ 418 more words ]

join us on the live chat!!
https://join.slack.com/t/gotmeadlive/shared_invite/enQtMzY3NzI0ODA4MTkyLTY1NjQ0ODljNjgwYmVhMDM4MDQ3Mm ZlYzhjM2E3NDdhMzIzMDQ0Zjk0NWFhMmM5MTBlYTMxNjliMDU3 ZmQyYTQ

05-26-2018, 06:16 AM
the RSS feed seems to have failed fail to update, do you need to do it manually? http://gotmead.com/blog/feed/podcast/

06-12-2018, 04:39 PM
No, I have to fix the file, we had a glitch and I have to re-record some of it. Sorry, been swamped.

12-15-2018, 08:06 AM
@webmaster Did you know the early episodes aren't in the RSS file? You can generate a new one with a script like this, but it requires each spreaker page (for each episode) to already be downloaded and in a folder like pages/001/gotmead-live-episode-1-schramms-mead-ken and pages/002/gotmead-live-episode-2-b-nektar-brad-ker


from datetime import datetime
from typing import List
import sys
import os
import subprocess
from string import Template

<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">

<title>GotMead generated archive</title>
<lastBuildDate>Sat, 25 Mar 2006 11:30:00 -0500</lastBuildDate>
<pubDate>Sat, 25 Mar 2006 11:30:00 -0500</pubDate>
item = Template('''<item>
<enclosure url="$mp3" type="audio/mpeg"/>
<!--<enclosure url="XXXXXX" length="11779397" type="audio/mpeg"/>-->



command: str = """grep -oE 'https://api\.spreaker\.com/download/episode/[^"]+' --no-filename pages/*/*"""
mp3s: List[str] = subprocess.check_output([command], shell=True).decode().splitlines()
command: str = """grep -oE '<meta property="og:title" content="[^"]+' --no-filename pages/*/* | sed 's/.*"//'"""
titles: List[str] = subprocess.check_output([command], shell=True).decode().splitlines()
command: str = """grep -oE '<meta property="og:description" content="[^"]+' --no-filename pages/*/* | sed 's/.*"//'"""
descriptions: List[str] = subprocess.check_output([command], shell=True).decode().splitlines()
command: str = """grep -m 1 -oE 'timestamp="[^"]+' --no-filename pages/*/* | sed 's/.*"//'"""
timestamps: List[str] = subprocess.check_output([command], shell=True).decode().splitlines()
command: str = """grep -oE 'class="track_player_time_total">[0-9]+:[0-9]+' --no-filename pages/*/* | sed 's/.*>//'"""
durations: List[str] = subprocess.check_output([command], shell=True).decode().splitlines()


for i in range(len(titles)):
# Skip this URL if it is coming again on a later page:
# (This doesn't actually seem to help.)
if (mp3s[i] in mp3s[i+1:]):
date = datetime.fromtimestamp(int(timestamps[i])) # if the timestamp is a unix timestamp
except ValueError: # if it's an iso date
date = datetime.fromisoformat(timestamps[i])

# Sat, 25 Mar 2006 11:30:00 -0500
dateStr: str = date.strftime('%a, %d %b %Y %X %z')
print(item.substitute(title=titles[i], description=descriptions[i], mp3=mp3s[i], date=dateStr));