Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
4 votes
1 answer
205 views

Blog site generator in python

Summary: This project is a simple static blog site generator written in python, utilizing pandoc to convert posts written in Markdown to HTML. It is essentially a follow up to my previous post: blog ...
766F6964's user avatar
  • 901
2 votes
1 answer
103 views

Create URL's, then download and print each RSS feed text

Looking for a more efficient way of achieving this. In particular the combine_all_rss_lists so I don't need all those params. Feedparser module doesn't accept lists which is why I've had to initially ...
Luca's user avatar
  • 67
4 votes
1 answer
83 views

Fetching and modifying CNN headlines

This is a project I came up with just as an exercise with to familiarize myself with Python syntax and data types. I am just learning how to code and would like to avoid establishing bad habits. On ...
GCM's user avatar
  • 51
9 votes
1 answer
1k views

A web scraper that looks for pre-defined words in news articles

I'm still fairly new to Python and web-scraping, but a colleague asked asked me if I could build a web-scraper that could be used by a think tank he's a member of to find news articles matching a pre-...
DanielH's user avatar
  • 177
3 votes
2 answers
417 views

Parse atom RSS feed with xml.dom.minidom

I had to parse a blogger RSS feed but I didn't have access to any third party modules like feedparser or lxml. I was stuck with the task of writing a library to parse RSS feeds; challenge accepted. I ...
Ricky Wilson's user avatar
  • 1,705
3 votes
0 answers
181 views

Converting YouTube channels to podcasts

I created a Django app that converts YouTube channels to podcasts. It uses the actual YouTube paths for the URLs. The idea is that the user can just find the YouTube address of the desired channel (...
user avatar
3 votes
2 answers
344 views

RSS to HTML script - version two

I wrote this script that downloads an RSS feed and converts it to HTML. One of my only concerns is my variable naming because I suck at naming things. ...
Ricky Wilson's user avatar
  • 1,705
4 votes
3 answers
1k views

Simple RSS to HTML converter

Is this code pythonic, easy to read, stable, or missing something? ...
Ricky Wilson's user avatar
  • 1,705
1 vote
1 answer
85 views

Avoiding use of .encode() in rss2html

My concern with this code is the excessive use of .encode('utf-8'). Any advice on refining these functions would be very helpful. rss2html GitHub repo ...
Ricky Wilson's user avatar
  • 1,705
4 votes
1 answer
1k views

Simple hack to merge RSS feeds

Have I made any obvious mistakes? Is this code clean? Is there a better way to do this in python? ...
Ricky Wilson's user avatar
  • 1,705
2 votes
0 answers
353 views

Prototype spider for indexing RSS feeds

This code is super slow. I'm looking for advice on how to improve its performance. ...
Ricky Wilson's user avatar
  • 1,705