El sáb, 01-11-2014 a las 21:10 -0400, Ian Stakenvicius escribió: [...] > Not at the moment ; I'm going to want to do a fair bit of cleanup > before i let anyone else's eyes on it.. :) > > It's just a bash script, though -- i use 'pybugz search' to get a list > of the bugs Diego's filed (using --offset and --limit to restrict the > list returned), get the content of each one, and if it has no > attachments but has a URL with 'https://tinderboxlogs' in the comment, > then i wget the URL to a temp file, strip the HTML out, and attach it > (compressing if necessary to save space) to the bug with 'pybugz attach'. > > Add in a couple of files that lets me keep track of the current search > offset i should be using as well as the bug#'s the script has > processed and skipped, and that's about it. > >
How do you strip the html code? I was unsure about to do that :/ Thanks!