Perl Programming quiz, level Advanced, question 31
| Question: | If you're writing a program that will automatically download and search a site for some specific information, how do you know if your automatic program is welcome? |
| Answer 1: | Look for a file called robots.txt and follow the directives it contains This was the CORRECT answer |
| Answer 2: | Send an email to the postmaster and ask him |
| Answer 3: | Try it gently and see if you get any rude emails asking what the *&^% you are doing |
| Answer 4: | There's no easy way to tell if you'll be welcome, but if you put a 10 second sleep between each page retrieved, most people will be quite happy. |
This was a question from our quiz ... but we have now provided you with
the answer (above) - we prefer to provide you with information rather than to
puzzle you.
|
|