charygaru Posted May 2, 2013 Report Posted May 2, 2013 I need to copy a certain link from a html website into a variable how can i do that ? evariki ayyina telusthe cheppandi vayya. nenu oka process create chesthunna aa process lo bhagam ga oka website ni daily check chesthu naaku kavalsina link ni specified time ki download chesukogalgaali. info inka kaavalante cheptha prastthutaaniki aithe kudirinantha lo help cheyyandi. please ask relevant questions so that i can provide info
charygaru Posted May 2, 2013 Author Report Posted May 2, 2013 sadukunna jaffa gallu ochi savandi vayya
galigannarao Posted May 2, 2013 Report Posted May 2, 2013 [quote name='charygaru' timestamp='1367527237' post='1303698165'] sadukunna jaffa gallu ochi savandi vayya [/quote] soosing vayya
galigannarao Posted May 2, 2013 Report Posted May 2, 2013 [quote name='charygaru' timestamp='1367526996' post='1303698146'] I need to copy a certain link from a html website into a variable how can i do that ? evariki ayyina telusthe cheppandi vayya. nenu oka process create chesthunna aa process lo bhagam ga oka website ni daily check chesthu naaku kavalsina link ni specified time ki download chesukogalgaali. info inka kaavalante cheptha prastthutaaniki aithe kudirinantha lo help cheyyandi. please ask relevant questions so that i can provide info [/quote]marichanu intaki process endulo create chestunnav. SQL???
Chimidi_Mukku Posted May 2, 2013 Report Posted May 2, 2013 Properly formatted HTML aite you can use XML parser to parse it SAX or DOM style. Ledante edanna HTML parser tho cheyochu. HTML document parse chesi Link extract chesaka aa link lo content ni download chesukovala ? Mac Application aite rayagalanu. Java app aite telvadu
tom bhayya Posted May 2, 2013 Report Posted May 2, 2013 meeru rasey basha em basho(script) chepthey try chestham
BumChikaBamBam Posted May 2, 2013 Report Posted May 2, 2013 httpwebrequest class methods tho kavalsina website access cheyyi... response ni parse chesi (reg expression) link tecchuko.. maybe 5 lines code.. anthe !
charygaru Posted May 2, 2013 Author Report Posted May 2, 2013 [quote name='galigannarao' timestamp='1367527329' post='1303698171'] marichanu intaki process endulo create chestunnav. SQL??? [/quote] automate 7 ani oka tool mayya
galigannarao Posted May 2, 2013 Report Posted May 2, 2013 [quote name='charygaru' timestamp='1367528264' post='1303698238'] automate 7 ani oka tool mayya [/quote]hmm susta undu
charygaru Posted May 2, 2013 Author Report Posted May 2, 2013 [quote name='Chimidi_Mukku' timestamp='1367527363' post='1303698175'] Properly formatted HTML aite you can use XML parser to parse it SAX or DOM style. Ledante edanna HTML parser tho cheyochu. HTML document parse chesi Link extract chesaka aa link lo content ni download chesukovala ? Mac Application aite rayagalanu. Java app aite telvadu [/quote] nuvvu cheppindi mottam ardham chesuko galigina roju nenu nijam ayyina s/w engg ani cheppukunta mayya bayata,. XML and DOM endo ardham kaale kaani idi matram exact ga cheppinav [i]"HTML document parse chesi Link extract chesaka aa link lo content ni download chesukovala ?" [/i] link varaku inko variable lo ki vesukoalguthe saalu prasthutham ki aa link venakala content ni download cheyyaniki naa deggara process already undi .
charygaru Posted May 2, 2013 Author Report Posted May 2, 2013 [quote name='BumChikaBamBam' timestamp='1367528027' post='1303698215'] httpwebrequest class methods tho kavalsina website access cheyyi... response ni parse chesi (reg expression) link tecchuko.. maybe 5 lines code.. anthe ! [/quote] is husband there why barber ani avanni ochhi unte eeda ochhi ninnu enduku adugutha [img]http://i1249.photobucket.com/albums/hh517/twinklebt/Brahmis/33.gif[/img] i know no html introduced to it today [img]http://stream1.gifsoup.com/webroot/animatedgifs6/4245881_o.gif[/img]
charygaru Posted May 2, 2013 Author Report Posted May 2, 2013 to be precise aa kinda kanabade link mottam naaku oka variable lo ki save ayye laaga script kaavaali. ee question lo nenu edo info miss chesthunna anipiusthundi please ask if you didnt understand what i just said [IMG]http://i41.tinypic.com/34r8woj.jpg[/IMG]
charygaru Posted May 2, 2013 Author Report Posted May 2, 2013 answer ochhindi anipisthe [email protected] ki mail cheyyu vayya gaali i leaving for the day will check back in couple of hours
tom bhayya Posted May 2, 2013 Report Posted May 2, 2013 [quote name='charygaru' timestamp='1367528630' post='1303698280'] to be precise aa kinda kanabade link mottam naaku oka variable lo ki save ayye laaga script kaavaali. ee question lo nenu edo info miss chesthunna anipiusthundi please ask if you didnt understand what i just said [img]http://i41.tinypic.com/34r8woj.jpg[/img] [/quote] aa website lo adhi static link aa if so hardcode it .. ledhu antey you will have to go to the home page and look for that div and get the url automate 7 meedha pedha idea ledu
puli_keka Posted May 2, 2013 Report Posted May 2, 2013 oka webpage source ni nuvvu first oka string loki techukunnav anuko..dantlo ee particular link kavali [color=#ff0000]<div class='pagination clearfix left '> [/color] [color=#ff0000]<li class='first'><a href='http://www.andhrafriends.com/topic/408271-na-friend-pelli-cancel-ayyindi/' title='Go to first page' rel='start'>« <!--First--></a></li>[/color] ippudu only get the above text with the following regular expression match <div class='pagination clearfix left '>[\s\S]+?</li> [\s\S]+ ante matches any character, then ?</li> ante untl first </li> is encountered take the matched text and apply one more regular expression to get link http[\s\S]+?' idhi http nundi aa last single quote daka match chesthadhi then remove the last character and use it.. just verified in notepad++
Recommended Posts