Skip to content

kyleboss/DupRSS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DupRSS

Description: DupRSS is a tool that mirrors RSS feeds from an external source to an AWS account. DupRSS was initially created to provide Chinese citizens the ability to view blocked RSS content.

Project Setup

  1. Set up an Amazon Web Services (AWS) account & make a bucket for DupRSS.
  2. Make a MySQL Database using the SQL code provided in sql.sql
  3. Create a directory for videos to be stored and make sure it has appropriate write and read permissions.
  4. Create a text file for logging errors and make sure it has appropriate write permissions.
  5. Supply the globVars.py file with the appropriate information. Make sure the FULL location is given for videosDir & errorLoc.
  6. Make Cron Jobs to update the feeds. Examples are provided in CronExample.
  7. Make sure the following python libraries are installed: urllib, sys, os, HTMLParser, re, subprocess, MySQLdb, ntpath, glob, boto, urllib2, time, StringIO, parser, bs4, hashlib, urlparse, etree, cgi, cgitb, copy, json

That's it! Once these steps are fulfilled, the rest is easy. It's worth mentioning that the majority of DupRSS is a command line Python script (copyFeed.py). However, there is also a graphic-interface as well for it included in the DupRSS.cgi file

Troubleshooting & Useful Tools

Update all of the feeds (e.g. transfer new content from external feed to S3 for each feed).

  • python copyFeed.py updateAll

Move all videos in the local video directory to S3.

  • python copyFeed.py updateVids

Add feed to database or update a single feed.

  • python copyFeed.py stdRequest http://URL_HERE.com

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published