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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T10:47:27+00:00 2026-06-05T10:47:27+00:00

O community, I’m in the process of writing the pseudocode for an application that

  • 0

O community, I’m in the process of writing the pseudocode for an application that extracts song lyrics from a remote host (web-server, not my own) by reading the page’s source code.
This is assuming that:

  • Lyrics are being displayed in plaintext
  • Portion of source code containing lyrics is readable by Java front-end application

I’m not looking for source code to answer the question, but what is the technical term used for querying a remote webpage for plaintext content?

If I can determine the webpage naming scheme, I could set the pointer of the URL object to the appropriate webpage, right? The only limitations would be irregular capitalization, and would only be effective if the plaintext was found in EXACTLY the same place.

Do you have any suggestions?
I was thinking something like this for “Buck 65”, singing “I look good”

  • URL url = new URL(http://www.elyrics.net/read/b/buck-65-lyrics/i-look-good-lyrics.html);
    • I could substitute “buck-65-lyrics” & “i-look-good-lyrics” to reflect user input?
    • Input re-directed to PostgreSQL table

Current objective:

  • User will request name of {song, artist, album}, Java front-end will query remote webpage
  • Full source code (containing plaintext) will be extracted with Java front-end
  • Lyrics will be extracted from source code (somehow)
  • If song is not currently indexed by PostgreSQL server, will be added to table.
  • Operations will be made on the plaintext to suit the objectives of the program

I’m only looking for direction. If I’m headed completely in the wrong direction, please let me know. This is only for the pseudocode. I’m not looking for answers, or hand-outs, I need assistance in determining what I need to do. Are there external libraries for extracting plaintext that you know of? What technical names are there for what I’m trying to accomplish?

Thanks, Tyler

  • 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-05T10:47:30+00:00Added an answer on June 5, 2026 at 10:47 am

    This approach is referred to as screen or data scraping. Note that employing it often breaks the target service’s terms of service. Usually, this is not a robust approach, which is why API-like services with guarantees about how they operate are preferable.

    Your approach sounds like it will work for the most part, but a few things to keep in mind.

    • If the web service you’re interacting with requires a very precise URL scheme, you should not feed your user-provided data directly into it, since it is likely to be muddied by missing words, abbreviations, or misspellings. You might be better off doing some sort of search, first, and using that search’s best result.
    • Reading HTML data is more complicated than you think. Use an existing library like jsoup to assist you.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am building a community site and i'm currently writing a script that generates
Hello dearest community, I am trying to build a simple AutoUpdate application using VB.NET.
Hello community, I'm trying to debug that I didn't made. This app works online
Django community seems to encourage the use of Postgres, I understand that in a
I am using MySQL Community Server 5.1. I remember a while back I heard
Greetings Stack Overflow community. I'm trying to make a function that can pop all
Hello dearest community I just given a task to develop a mobile application for
Stackoverflow community. I found out that WSO2 community can be contacted on this site,
Hello Community I am look at C++ assembly, I have compiled a benchmark from
Hello Great community of SO! I have created a GUI application with qt and

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.