# Is this Possible?

**URL:** https://community.mp3tag.de/t/is-this-possible/6969
**Category:** Web Sources Discussion
**Created:** [June 25, 2008, 5:14am UTC](https://community.mp3tag.de/t/is-this-possible/6969 "2008-06-25T05:14:53Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![itsalok4u](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/i/e47c2d/32.png) [@itsalok4u](https://community.mp3tag.de/u/itsalok4u)
#### Post date: [June 25, 2008, 5:14am UTC](https://community.mp3tag.de/t/is-this-possible/6969/1 "2008-06-25T05:14:53Z")

</div>

Can I write Web Source Script for this website [www.musicindiaonline.com](http://www.musicindiaonline.com) ? This is the only website which has accurate and thorough db for indian music. It uses POST method form for search.  
What should be the value of IndexURL and %s. If someone can tell me that, then I can go ahead and write the parsing script. Or if someone with better coding skills wants to write it, it would be a huge help.  
Please help.

---

<div class="post-metadata">

### Author: ![itsalok4u](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/i/e47c2d/32.png) [@itsalok4u](https://community.mp3tag.de/u/itsalok4u)
#### Post date: [June 28, 2008, 8:35pm UTC](https://community.mp3tag.de/t/is-this-possible/6969/2 "2008-06-28T20:35:02Z")

</div>

Never Mind. Got it working. Basically this is what I did, if anyone else is interested.

1. Used Firefox's Live HTTP Headers plugin to find the query that POST form generated.
2. Created an intermediate ASP page to generate the query and return the HTTP output.

Below is the code for ASP page.

```
<%
        Response.Buffer=true
 
    DataToSend = "q=" & Request.QueryString("album") & "&i=17&f=movie_name& searchsub.x=25&searchsub.y=6"
    dim xmlhttp 
    set xmlhttp = server.Createobject("MSXML2.ServerXMLHTTP")
    xmlhttp.Open "POST","http://www.musicindiaonline.com/s",false
    xmlhttp.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
    xmlhttp.send DataToSend
    Response.ContentType = "text/html"
    Response.Write xmlhttp.responseText
    Set xmlhttp = nothing

%>

```

I will post my scripts to Web Sources Scripts forum once they are done.

---

<div class="post-metadata">

### Author: ![abhixp](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/d2c977/32.png) [@abhixp](https://community.mp3tag.de/u/abhixp)
#### Post date: [May 6, 2011, 6:32pm UTC](https://community.mp3tag.de/t/is-this-possible/6969/3 "2011-05-06T18:32:37Z")

</div>

QUOTE (Alok @ Jun 29 2008, 04:05) \<{POST\_SNAPBACK}\>

Never Mind. Got it working. Basically this is what I did, if anyone else is interested. 
1. Used Firefox's Live HTTP Headers plugin to find the query that POST form generated.
2. Created an intermediate ASP page to generate the query and return the HTTP output.

Below is the code for ASP page.

```
<%
        Response.Buffer=true
 
    DataToSend = "q=" & Request.QueryString("album") & "&i=17&f=movie_name& searchsub.x=25&searchsub.y=6"
    dim xmlhttp 
    set xmlhttp = server.Createobject("MSXML2.ServerXMLHTTP")
    xmlhttp.Open "POST","http://www.musicindiaonline.com/s",false
    xmlhttp.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
    xmlhttp.send DataToSend
    Response.ContentType = "text/html"
    Response.Write xmlhttp.responseText
    Set xmlhttp = nothing

%>

```

I will post my scripts to Web Sources Scripts forum once they are done.

Where have you uploaded it? I also need one for hindi songs.

Thanks
