No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
7 Posted Topics
Re: I would use code like this in biterscripting. Assume the two pages to post are "http://www.site1.com/post.asp" and "http://www.site2.com/post.asp". Here is the code [CODE]# Script Post2.txt # Start two sessions. isstart s1 "site1" "Mozilla/4.0" ; isstart s2 "site2" "Mozilla/4.0" # Connect sessions to site1 and site2. iscon s1 "http://www.site1.com" ; iscon … | |
Re: In biterscripting, [CODE]var string text, line1, c12, clast cat "/path/to/somefile.html" > $text # Get the first line. lex -p "1" $text > $line1 # Get first two chars. chex -p "2]" $line1 > $c12 # Get the last char. chex -p "l" $line1 > $clast # Is $c12 "EB" and … | |
Re: [QUOTE]not all image urls are going to start with the <img tag [/QUOTE] But they are enclosed in <img ... > tags. [CODE]# Script ImgSrc.txt var str file, doc, img, src # Get XML into a string variable. cat $file > $doc # Get <img ... > into a string … | |
Re: This biterscripting script will extract images from a page. [CODE]# Script Img.txt var str url var str html, img cat $url > $html while ( { sen -c -r "^<img&src&=&\"&\"^" $html } > 0 ) do stex -c -r "^<img&src&=&\"^]" $html > null stex "]^\"^" $html > $img echo $img … | |
Re: If you don;t want to hard code the user names john, jill, etc, here is a script that will delete all "cookies" folders from /users for all users. [CODE]# Script DeleteCookies.txt var str folderlist, folder cd /users lf -r -n "*cookie*" "." ($ftype=="d") > $folderlist while ($folderlist <> "") do … | |
Re: Sounds like this has not been solved yet. Here is a straight-forward script. [CODE=biterscripting] # Script LookForString.txt # Read web page into a string variable. var str page ; cat "http://www.somesite.com/page.html" > $page # Is string "This text is present^" present in $page ? if ( { sen -c ("^This … | |
Re: Hi manfosys. To extract data from an html document, you can use biterscripting. There are couple good sample scripts posted at http://www.biterscripting.com/SS_URLs.html and http://www.biterscripting.com/SS_WebPageToCSV.html . The first one extracts all URLs from an html file, the second extracts n'th table from an html file. You can start with one of … |
The End.