Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8729859
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T08:54:20+00:00 2026-06-13T08:54:20+00:00

I’m extremely new to Python, read about half a beginner book for Python3. I

  • 0

I’m extremely new to Python, read about half a beginner book for Python3. I figure doing this will get me going and learning with something I actually want to do instead of going through some “boring” exercises.

I’m wanting to build an application that will scrape Reddit for the top URL’s and then post these onto my own page. It would only check a couple times a day so no hammering at all here.

I want to parse the Reddit json (http://www.reddit.com/.json) and other subreddits json into URL’s that I can organize into my own top list and have my own categories as well on my page so I don’t have to keep visiting Reddit.

The website will be a WordPress template with the DB hosted on it’s own server (mysql). I will be hosting this on AWS using RDS, ELB, Auto-scaling, and EC2 instances for the webservers.

My questions are:

-Would it make sense to keep the Python scraper application running on it’s own server, which then writes the scraped URL’s to the database?

-I heard it may make sense to split the application and one does the reading while the other does the writing, whats this about?

-What would the flow of the Python code look like? I can fumble my way around writing it but I just am not entirely sure on how it should flow.

-What else am I not thinking of here, any tips?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T08:54:23+00:00Added an answer on June 13, 2026 at 8:54 am

    Would it make sense to keep the Python scraper application running on
    it’s own server, which then writes the scraped URL’s to the database?

    Yes, that is a good idea. I would set up a cron job to run the program every so often. Depending on the load you’re expecting, it doesn’t necessarily need to be on its own server. I would have it as its own application.

    I heard it may make sense to split the application and one does the
    reading while the other does the writing, whats this about?

    I am assuming the person who said this meant that you should have an application to write to your database (your python script) and an application to read URLs from the database (your WordPress wrapper, or perhaps another Python script to write something WordPress can understand).

    What would the flow of the Python code look like? I can fumble my way
    around writing it but I just am not entirely sure on how it should
    flow.

    This is a somewhat religious matter among programmers. However I feel that your program should be simple enough. I would simply grab the JSON and have a query that inserts into the database if the entry doesn’t exist yet.

    What else am I not thinking of here, any tips?

    I personally would use urllib2 and MySQLdb modules for the Python script. Good luck!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I am reading a book about Javascript and jQuery and using one of the
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
link Im having trouble converting the html entites into html characters, (&# 8217;) i
For some reason, after submitting a string like this Jack’s Spindle from a text
this is what i have right now Drawing an RSS feed into the php,
I have this code to decode numeric html entities to the UTF8 equivalent character.
I want use html5's new tag to play a wav file (currently only supported
I am doing a simple coin flipping experiment for class that involves flipping a
I have this code: - (void)parser:(NSXMLParser *)parser foundCDATA:(NSData *)CDATABlock { NSString *someString = [[NSString

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.