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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T13:36:37+00:00 2026-05-13T13:36:37+00:00

I have a web page that has the following content (I’ve changed the URL

  • 0

I have a web page that has the following content (I’ve changed the URL in the src tag for privacy purposes, otherwise viewing the page source is identical):

<HTML>
<BODY>

<script type="text/javascript" src="http://localhost/servlet?publicKey=abcdefg12345678&amp"></script>

</BODY>
</HTML>

The resulting page displays an image when viewed in a browser and I’m trying to scrape that image. After I scrape the image I attempt to index the images (see http://www.tineye.com for the idea of image search engine) and store them. If anybody knows how to scrape images from such web sites please let me know.

Note: the src does not contain ANY information about the image… it only calls the given servlet with a public key as the parameter. What I’ve posted above is EXACTLY what I see when I click View->Page Source in my browser (Firefox). Of course I’ve changed the actual URL and the public key for privacy issues, otherwise everything is identical.

I’ve seem similar techniques used for some banners: http://coldjava.hypermart.net/servlets/banner.htm

  • 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-13T13:36:38+00:00Added an answer on May 13, 2026 at 1:36 pm

    The JavaScript is probably manipulating the DOM and adding an image. Therefore the image (.jpg, .png or .gif) should be somewhere inside the JavaScript file, and should look something like this:

    var image = new Image("/path/to/image.jpg");
    

    You can use Regular Expressions to filter the path and filename out of the javascript code.

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

Sidebar

Related Questions

I have a web application that has a page that loads the content from
I have web forms page that has 2 controls. A gridview and an associated
I have a simple jQuery code that runs on a web page that has
I have a ASP.NET web page that contains many textboxes. Each textbox has a
In a web application, I have a page that contains a DIV that has
I have the following script element in my web page: <script src=default.js type=text/javascript></script> Using
I have a web page that accepts an excel file, reads data from it
I have a master page that divides the main content into two areas. There
I have a GridView which has following template field that holds the filename, when
I often run in the following problem, I have a web page with the

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.