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 8356167
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T10:06:09+00:00 2026-06-09T10:06:09+00:00

The only programming language I really know right now is python. I am pretty

  • 0

The only programming language I really know right now is python. I am pretty new to javascript. Right now, I’m trying to make a simple program that goes through a website and gathers information for me.

On the website, there is a long list of links to other pages. If you hover near one, another link will come up on the side that says “Find Dupes” (short for duplicates). I found this in the page source:

<a href="javascript:void(0)" onclick="getDuplictes(1020347166, true)">Find Dupes</a>

So when you click on the javascript link, an iframe will pop up:

</div>  
</center>

<div id="ActionDiv" style="position: absolute;z-index: 400; width:400; display:none">

<iframe id="ActionFrame" src="" style="width:400;height:400" scrolling="no"         frameborder="0" ></iframe>
</div>

<div id="DuplicatesDiv" style="position: absolute;z-index: 200; width:600; display:none">
<iframe id="DuplicatesFrame" src="" style="width:600;height:400" scrolling="auto" frameborder="0" ></iframe>
</div>

<script>
function getDuplictes(placeId, findInLoca, feedId){

if(isUndefined(feedId)){
    feedId = 0;
}

if(isUndefined(findInLoca)){
    duplicatesUrl = "/places/duplicates.jsp?inPID=" + placeId + "&inFeedID=" + feedId;
}else{
    duplicatesUrl = "/places/duplicates.jsp?inPID=" + placeId + "&inFindInLoca=" + findInLoca +  "&inFeedID=" + feedId;
}

showFrameDiv( duplicatesUrl, "DuplicatesFrame", "DuplicatesDiv", "LocaBlur")
}
</script>

And the information will be different each time, based on which link you click.

What I want to do is somehow get the information that is displayed in the iframe in an organized, readable form without actually opening and using the web browser. I want to be able to look at the content of one iframe, decide if I need it or not, and click next to see the next one. There are about 100 of these “Find Dupes” iframes per page and maybe 50 pages. Anyway, my main problem is how to get the content of the specific iframe using python or javascript or something (I’m clueless with javascript…)

Thanks.

  • 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-09T10:06:12+00:00Added an answer on June 9, 2026 at 10:06 am

    With python you could use PyQuery to get the onclick attribute of each anchor tag, parse that with a regular expression to get the placeId, build the /places/duplicates.jsp?inPID= URL yourself, use requests to load the content at that URL, then PyQuery again on the content to get the data you need.

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

Sidebar

Related Questions

This is only tangentially a programming question. Where can I find a simple-to-parse list
I'm currently programming an extension to a program, which only supports i386 (and I
I am relatively new to Objective-C / iPhone programming, and have only created single
I'm making my own javascript-based programming language (yeah, it is crazy, but it's for
I understand that the Go programming language doesn't really support dynamic linking. This makes
I've decided to get more acquainted with my favorite programming language, but only reading
(for the D programming language) I've been struggling trying to initialise an associative array
I'm developing a client-server program. I use C# programming language and .net framework 4.
LATER EDIT: Please mention not only game programming books, but also more scientific/simulation oriented
I'm only starting learning c# (and programming in general). I'm doing a little college

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.