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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T20:26:01+00:00 2026-06-02T20:26:01+00:00

i’m in a big problem I use wget to send a post petition to

  • 0

i’m in a big problem

I use wget to send a post petition to a web, then i receive a html
And i need to filter this sample of the html:

more code up...

        <div id="song_html" class="show1">
            <div class="left">
            <!-- info mp3 here -->
                256 kbps<br />3:21<br />6.13 mb         </div>
            <div id="right_song">
                <div style="font-size:15px;"><b>Marilyn Manson - Tainted Love ( Manson Remix) mp3</b></div>
                <div style="clear:both;"></div>
                <div style="float:left;">
                    <div style="float:left; height:27px; font-size:13px; padding-top:2px;">
                        <div style="float:left;"><a href="http://rockass.free.fr/video/Marilyn Manson - Taited Love.mp3" rel="nofollow" target="_blank" style="color:green;">Download</a></div> 
                                                <div style="margin-left:8px; float:left; width:27px; text-align:center;"><a href="javascript:void(0)" onclick="showPlayer_new(37119, '91da6888c92ccb4198dbc78cb30f311635751694', 'marilyn+manson', 'tainted+love')" rel="nofollow" id="lk37119" class="play_now">Play</a></div>                     
                                                                        <div style="margin-left:8px; float:left;"><a href="javascript:void(0)" onclick="showEmbed_new(37119, '91da6888c92ccb4198dbc78cb30f311635751694')" rel="nofollow" id="em37119" class="embed">Embed</a></div>
                                                <div style="margin-left:8px; float:left;"><a href="http://www.ringtonematcher.com/go/?sid=WDLL&artist=marilyn+manson&song=tainted+love" rel="nofollow" target="_blank" style="color:red;" title="Send Marilyn Manson - Tainted Love Ringtone to your Cell">Descarga Tono</a></div> 
                        <div style="clear:both;"></div>
                    </div>
                    <div id="player37119" style="float:left; margin-left:10px;" class="player"></div>
                </div>  
                <div style="clear:both;"></div>
            </div>
            <div style="clear:both;"></div>
        </div>

        <div id="song_html" class="show2">
            <div class="left">
            <!-- info mp3 here -->
                            </div>
            <div id="right_song">
                <div style="font-size:15px;"><b>Spaz Marilyn Manson Metric - grow up and blow the great big dj://spaz, marilyn manson  mp3</b></div>
                <div style="clear:both;"></div>
                <div style="float:left;">
                    <div style="float:left; height:27px; font-size:13px; padding-top:2px;">
                        <div style="float:left;"><a href="http://spaz.mindstab.net/djspaz_-_grow_up_and_blow_the_great_big_white_nietzche.mp3" rel="nofollow" target="_blank" style="color:green;">Download</a></div> 
                                                <div style="margin-left:8px; float:left; width:27px; text-align:center;"><a href="javascript:void(0)" onclick="showPlayer_new(668416, 'ac5b8834fa26b892fc1436db4678aca9d8acfdb1', 'spaz+marilyn+manson+metric', 'grow+up+and+blow+the+great+big+dj%3a%2f%2fspaz%2c+marilyn+manson')" rel="nofollow" id="lk668416" class="play_now">Play</a></div>                       
                                                                        <div style="margin-left:8px; float:left;"><a href="javascript:void(0)" onclick="showEmbed_new(668416, 'ac5b8834fa26b892fc1436db4678aca9d8acfdb1')" rel="nofollow" id="em668416" class="embed">Embed</a></div>
                                                <div style="margin-left:8px; float:left;"><a href="http://www.ringtonematcher.com/go/?sid=WDLL&artist=spaz+marilyn+manson+metric&song=grow+up+and+blow+the+great+big+dj%3a%2f%2fspaz%2c+marilyn+manson" rel="nofollow" target="_blank" style="color:red;" title="Send Spaz Marilyn Manson Metric - Grow Up And Blow The Great Big Dj://spaz, Marilyn Manson Ringtone to your Cell">Descarga Tono</a></div> 
                        <div style="clear:both;"></div>
                    </div>
                    <div id="player668416" style="float:left; margin-left:10px;" class="player"></div>
                </div>  
                <div style="clear:both;"></div>
            </div>
            <div style="clear:both;"></div>
        </div>

    <div id="morelink" style="margin:10px; text-align:center;"><a href="" rel="nofollow" onClick="toggle(); return false;">Show More Results</a></div>


                <div id="song_html" class="show3">
            <div class="left">
            <!-- info mp3 here -->
                 3:10<br />         </div>
            <div id="right_song">
                <div style="font-size:15px;"><b>Marilyn Manson - MARILYN MANSON - Rock is Dead  mp3</b></div>
                <div style="clear:both;"></div>
                <div style="float:left;">
                    <div style="float:left; height:27px; font-size:13px; padding-top:2px;">
                        <div style="float:left;"><a href="http://www.bricbrac.free.fr/Music/01___MARILYN_MANSON___ROCK_.MP3" rel="nofollow" target="_blank" style="color:green;">Download</a></div> 
                                                <div style="margin-left:8px; float:left; width:27px; text-align:center;"><a href="javascript:void(0)" onclick="showPlayer_new(670124, '14a52b596082676bed6a9d860c383488a486e1dc', 'marilyn+manson', '-+rock+is+dead')" rel="nofollow" id="lk670124" class="play_now">Play</a></div>                     
                                                                        <div style="margin-left:8px; float:left;"><a href="javascript:void(0)" onclick="showEmbed_new(670124, '14a52b596082676bed6a9d860c383488a486e1dc')" rel="nofollow" id="em670124" class="embed">Embed</a></div>
                                                <div style="margin-left:8px; float:left;"><a href="http://www.ringtonematcher.com/go/?sid=WDLL&artist=marilyn+manson&song=-+rock+is+dead" rel="nofollow" target="_blank" style="color:red;" title="Send Marilyn Manson - - Rock Is Dead Ringtone to your Cell">Descarga Tono</a></div> 
                        <div style="clear:both;"></div>
                    </div>
                    <div id="player670124" style="float:left; margin-left:10px;" class="player"></div>
                </div>  
                <div style="clear:both;"></div>
            </div>
            <div style="clear:both;"></div>
        </div>

</div>
</div>
<!-- ================= -->  

more code down...

…To set a bit of variables like “Name” “Bitrate” “Size” and “Download”, To print all this information in Batch, like this:

1st result:
[Name]      Marilyn Manson - Tainted Love ( Manson Remix) mp3
[Info]      Bitrate: 256 kbps. Length: 3:21. Size: 6.13 mb.
[Download]  http://rockass.free.fr/video/Marilyn Manson - Taited Love.mp3

2nd result:
[Name]      Spaz Marilyn Manson Metric - grow up and blow the great big dj://spaz, marilyn manson  mp3
[Info]      NO INFO.
[Download]  http://spaz.mindstab.net/djspaz_-_grow_up_and_blow_the_great_big_white_nietzche.mp3

3rd result:
[Name]      Marilyn Manson - MARILYN MANSON - Rock is Dead  mp3
[Info]      Lenght: 3:10.
[Download]  http://www.bricbrac.free.fr/Music/01___MARILYN_MANSON___ROCK_.MP3

I’ve tryed “Findstr”,”Find”,”SED”,”GREP”,”FART” but i can’t find the way (A line and chars delimitators) to do it right…

The only i can see to make it possible is this line:

<!-- ================= -->  

I can use it like a END-delimitator cause that line marks the end of mp3’s to download and to print their info…

Somebody can help me?

thankyou

  • 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-02T20:26:02+00:00Added an answer on June 2, 2026 at 8:26 pm

    The Batch file below use the fact that the data you want is located at fixed number of lines below “info mp3 here” line. Also, the data is extracted based on its position in the line. If some data not follow this rule, the program will need a modification.

    @echo off
    setlocal EnableDelayedExpansion
    findstr /N /C:"info mp3 here" %1 > "%~N1.tmp"
    set lastLine=-1
    (for /F "usebackq delims=:" %%a in ("%~N1.tmp") do (
       set /A skip=%%a-lastLine
       for /L %%i in (1,1,!skip!) do set /P info=
       set /P =& set /P name=
       for /L %%i in (1,1,4) do set /P download=
       set "name=!name:*<b>=!
       for /F "delims=<" %%n in ("!name!") do echo [Name]      %%n
       set "info=!info:<br />= !"
       set "info=!info:</div>=!"
       set bitrate=
       set lenght=
       set size=
       set value=
       for %%t in (!info!) do (
          if not defined value (
             set value=%%t
          ) else ( 
             if %%t equ kbps (
                set "bitrate=Bitrate: !value! kbps. "
                set value=
             ) else if %%t equ mb (
                set "size=Size: !value! mb."
                set value=
             ) else (
                set "lenght=Lenght: !value!. "
                set value=%%t
             )
          )
       )
       if defined value (
          set "lenght=Lenght: !value!. "
       )
       set info=!bitrate!!lenght!!size!
       if not defined info set info=NO INFO.
       echo [Info]      !info!
       set "download=!download:"=$!"
       for /F "tokens=4 delims=$" %%d in ("!download!") do echo [Download]  %%d
       set /A lastline=%%a+6
    )) < %1
    del "%~N1.tmp"
    

    Output:

    [Name]      Marilyn Manson - Tainted Love ( Manson Remix) mp3
    [Info]      Bitrate: 256 kbps. Lenght: 3:21. Size: 6.13 mb.
    [Download]  http://rockass.free.fr/video/Marilyn Manson - Taited Love.mp3
    
    [Name]      Spaz Marilyn Manson Metric - grow up and blow the great big dj://spaz, marilyn manson  mp3
    [Info]      NO INFO.
    [Download]  http://spaz.mindstab.net/djspaz_-_grow_up_and_blow_the_great_big_white_nietzche.mp3
    
    [Name]      Marilyn Manson - MARILYN MANSON - Rock is Dead  mp3
    [Info]      Lenght: 3:10.
    [Download]  http://www.bricbrac.free.fr/Music/01___MARILYN_MANSON___ROCK_.MP3
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I have this code to decode numeric html entities to the UTF8 equivalent character.
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I have thousands of HTML files to process using Groovy/Java and I need to
That's pretty much it. I'm using Nokogiri to scrape a web page what has
For some reason, after submitting a string like this Jack’s Spindle from a text
I am trying to understand how to use SyndicationItem to display feed which is
this is what i have right now Drawing an RSS feed into the php,
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.