#!/usr/local/bin/bash \\** in http://rmccurdy.com/scripts/COMCAST just change the 'movies' to what ever http://comcast.p.delivery.net/m/p/com/mic/search.asp?n=&c=Premium+Channels&k=&pagename=refinesearch.asp&st=refine&Submit1.x=18&Submit1.y=11 or just http://comcast.p.delivery.net/m/p/com/mic/search.asp?c=Premium%20Channels this example i use "Premium+Channels" i have basics cable so i dont use it anymore b.hibbard@comcast.net wrote: I love your script but I think that comcast has screwed with you again. There are only 6 pages of programs at comcast.p.delivery.net. The new listing is at http://tvplanner.comcast.net/?initView=ondemand#initView=ondemand , but the url is abot 300 characters long! I had been using Excel to scrape and sort the programs, but excel won't process a url that long. You can probably handle it with you script. I hope you can do something with this 'cause I hate comcasts listings too. Thank You for your effort! Bruce Hibbard **\\ rm /tmp/comcast.txt for i in {1..105} # Simpler and more straightforward than #+ for i in $(seq 10) do echo "$i" fetch -o /tmp/data.html "http://comcast.p.delivery.net/m/p/com/mic/search.asp?p=$i&c=Movies" cat /tmp/data.html | sed 's/,/-/g' > /tmp/data2.html cat /tmp/data2.html | sed 's/width="220">/width="500" nowrap>/g' | sed 's/"search">/"search"nowrap>,/g' | sed 's/"search" nowrap>/"search" nowrap>,/g' | sed 's/width="142">/nowrap>,/g' > /tmp/data.html lynx -dump -width=9000 /tmp/data.html -nolist | grep -v Ascending | grep "/" | tr '\011' '\_' | sed 's/ //g'|sed 's/ ,/,/g' >> /tmp/comcast.txt done mysql -u root comcast --password=ohhnossfail < /bin/SQL.sql