.
This commit is contained in:
parent
6623ee03f6
commit
44c8324063
120 changed files with 22842 additions and 4673 deletions
|
|
@ -1,40 +1,41 @@
|
|||
<!doctype html>
|
||||
<html lang="en"><head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<link rel="shortcut icon" href="https://nonsense.dymc.win/favicon.ico">
|
||||
<link id="stylesheet" rel="stylesheet" href="/css/light.css">
|
||||
<html lang="en"><head><script src="/livereload.js?mindelay=10&v=2&port=1313&path=livereload" data-no-instant defer></script>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<link rel="canonical" href="http://localhost:1313/python-podcast-scripting/" />
|
||||
<title>Python podcast scripting - James' Blog</title>
|
||||
|
||||
<link rel="canonical" href="https://nonsense.dymc.win/python-podcast-scripting/" />
|
||||
<title>Python podcast scripting</title>
|
||||
<link rel="stylesheet" href="/css/style.css">
|
||||
|
||||
<script>
|
||||
document.documentElement.setAttribute('data-theme', 'dark');
|
||||
</script>
|
||||
</head>
|
||||
<body><header id="banner">
|
||||
<nav class="navbar">
|
||||
<body><header class="site-header">
|
||||
<nav>
|
||||
<a href="http://localhost:1313/" class="home">~</a>
|
||||
<div class="nav-links">
|
||||
|
||||
<a href="https://nonsense.dymc.win/" class="home">🏠</a>
|
||||
|
||||
<a
|
||||
href="/info/"
|
||||
title="👋"
|
||||
>👋</a
|
||||
><a
|
||||
href="/search/"
|
||||
title="🔎"
|
||||
>🔎</a
|
||||
>
|
||||
|
||||
<button id="toggle-button" class="toggle-button" onclick="toggleTheme()">🌚</button>
|
||||
<a href="/search">/</a>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
<main id="content">
|
||||
<article>
|
||||
<header id="post-header">
|
||||
<h2>Python podcast scripting</h2>
|
||||
<div>
|
||||
<p>January 24, 2023</p>
|
||||
<article class="post">
|
||||
<header>
|
||||
<h1>Python podcast scripting</h1>
|
||||
<time>Jan 24, 2023</time>
|
||||
|
||||
<div class="tags">
|
||||
|
||||
<a href="/tags/python">python</a>
|
||||
|
||||
</div>
|
||||
</header><p>I have an old sad android phone with 2GB of ram which nowadays seems struggles these days. As a result of this I have been ‘podcast-player-hopping’ without success for the last couple of months trying to find something which doesn’t nuke my phone whenever I use it. In a moment of desperation it occured to me that a creative solution might be required. The gameplan was this:</p>
|
||||
|
||||
</header>
|
||||
<div class="content">
|
||||
<p>I have an old sad android phone with 2GB of ram which nowadays seems struggles these days. As a result of this I have been ‘podcast-player-hopping’ without success for the last couple of months trying to find something which doesn’t nuke my phone whenever I use it. In a moment of desperation it occured to me that a creative solution might be required. The gameplan was this:</p>
|
||||
<ul>
|
||||
<li>write python script to download podcasts</li>
|
||||
<li>set up cron job on my server to run script every couple of hours</li>
|
||||
|
|
@ -115,16 +116,16 @@
|
|||
</span></span><span class="line"><span class="cl"><span class="n">download</span><span class="p">()</span>
|
||||
</span></span><span class="line"><span class="cl"><span class="n">trim</span><span class="p">()</span>
|
||||
</span></span></code></pre></div><p>Of course this slightly ramshackle approach is certainly not for everyone lol but as it stands it’s working quite nicely for me. Lots of love and happy listening :)</p>
|
||||
</article>
|
||||
</main>
|
||||
<footer id="footer">
|
||||
<small>
|
||||
made with <a href="https://gohugo.io">hugo</a>
|
||||
</small>
|
||||
|
||||
<script src="/js/search.js"></script>
|
||||
<script src="/js/toggle.js"></script>
|
||||
</footer>
|
||||
|
||||
</body>
|
||||
</div>
|
||||
</article>
|
||||
</main><footer class="site-footer">
|
||||
<small>
|
||||
<a href="/index.xml">RSS</a>
|
||||
·
|
||||
<a href="https://gohugo.io">Hugo</a>
|
||||
</small>
|
||||
<script src="/js/script.js"></script>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue