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

  • SEARCH
  • Home
  • 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 4577816
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T20:23:57+00:00 2026-05-21T20:23:57+00:00

I’m new here, and quite new to web development in general. My background is

  • 0

I’m new here, and quite new to web development in general. My background is in 3D modeling and design, but I recently started a project that I think could be a nice resource for the 3D community.

I’ve got the page mostly designed and coded here: The Top Row, but I’m just about at the end of my knowledge. The upper section, and lower (artist spotlight) section will be manually updated, so I’m not worried about those.

The portion I’m having trouble with is the middle section under the “Best of the Rest” heading. What I want to do is scrape images (and links) from seven prominent CG forums and display them in the content areas I have laid out. Each of the forums have a section at the top of their page that displays five or six featured images.

If you look at CGSociety, for example: They have a top row with six featured pieces. I want to take the three newest and display them in my CGSociety content box with links to the original threads. It’s important I get the links too, since the whole point of the website is to generate exposure for artists that deserve it.

The images are always in the same locations and always have a predictable path all the way up to the image name:

i.e: http://features.cgsociety.org/cgtalk/plugs/"featured image".jpg

I don’t know if it’s relevant, but the xpath for the images is reliable too. For CGSociety, the image is basically determined by the number contained in the final set of brackets.

/x:html/x:body/x:div[4]/x:div/x:div/x:table[1]/x:tbody/x:tr/x:td[1]/x:a/x:img

I’ve read so many different stack overflow threads, but so much of it is going over my head. I don’t have much programming experience, but I suspect what I’m trying to do isn’t really all that complicated.

So here are my main questions:

  1. What’s the best (easiest) method for this kind of scraping? I keep seeing Python with Beautiful Soup or lxml mentioned, but someone else recommended PHP with cURL and xPath.

  2. Is there a particular method that will put the least possible strain on the source forums? These forums all have membership in the tens (or hundreds) of thousands, so this probably isn’t a huge concern, but I’d love to do this without directly hotlinking if possible.

  3. Am I even headed in the right direction?

Also: I know scraping is a legal grey-area. I plan on asking permission from each of the forums involved, but I want to have a working model to show them when I ask.

Any help will be very very much appreciated. I think this could be a cool site if I can get it working.

  • 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-05-21T20:23:58+00:00Added an answer on May 21, 2026 at 8:23 pm

    I refreshed my lxml knowledge a bit and wrote you some code that scrapes what you wanted from that page:

    import lxml.html
    
    images = []
    
    html = lxml.html.parse("http://forums.cgsociety.org/")
    table = html.xpath("//div[@class='page']/div[1]/table[1]")[0]
    
    for cell in table.iterfind(".//td"):
        image = {}
        image['img_url'] = cell.find('a/img').get('src')
        image['link_url'] = cell.find('a').get('href')
        images.append(image)
    

    images now contains:

    [{'img_url': 'http://features.cgsociety.org/cgtalk/plugs/meind_p.jpg',
      'link_url': 'http://forums.cgsociety.org/showthread.php?s=&threadid=975814&utm_medium=plugblock&utm_source=cgtalk'},
     {'img_url': 'http://features.cgsociety.org/cgtalk/plugs/plugimg.jpg',
      'link_url': 'http://forums.cgsociety.org/showthread.php?s=&threadid=975032&utm_medium=plugblock&utm_source=cgtalk'},
     {'img_url': 'http://features.cgsociety.org/cgtalk/plugs/cg_portfolio_elmoooo.jpg',
      'link_url': 'http://elmoooo.cgsociety.org/gallery/?z=0&utm_medium=plugblock&utm_source=cgtalk'},
     {'img_url': 'http://features.cgsociety.org/cgtalk/plugs/suck_p.jpg',
      'link_url': 'http://forums.cgsociety.org/showthread.php?s=&threadid=973971&utm_medium=plugblock&utm_source=cgtalk'},
     {'img_url': 'http://features.cgsociety.org/cgtalk/plugs/cry_p.jpg',
      'link_url': 'http://forums.cgsociety.org/showthread.php?s=&threadid=972537&utm_medium=plugblock&utm_source=cgtalk'},
     {'img_url': 'http://features.cgsociety.org/cgtalk/plugs/gerrard_p.jpg',
      'link_url': 'http://forums.cgsociety.org/showthread.php?s=&threadid=972012&utm_medium=plugblock&utm_source=cgtalk'}]
    

    Feel free to send me an email (you can find it on my profile) if you’d like some more help.

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

Sidebar

Related Questions

That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have a French site that I want to parse, but am running into
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
Seemingly simple, but I cannot find anything relevant on the web. What is the
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I want to count how many characters a certain string has in PHP, but
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I've got a string that has curly quotes in it. I'd like to replace
I want use html5's new tag to play a wav file (currently only supported

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.