making a list of URLs?
-
Hi!There are bunch of pages of a same website. the first one is http://www.theeuropeanlibrary.org/tel4/search?classification-cerif=H000&iyear=[2000 TO 2010]&offset=20 the next one is almost like the firt,but differs in the number at the last,and is 2 times 20 which is 40. so,the number for the 2000th address would be 2000 times 20.Now hw can i make a txt file containing the 2000 addresses which made out of the first one by the rule i said aboveusing notepad ++.
-
I wouldn’t attempt to do this with an editor. I would use a scripting language. For example, in AWK:
BEGIN { Text="http://www...offset=" Offset = 20 for (i = 1; i <= 2000; i++) { printf("%s%d\n", Text, Offset) Offset += 20 } exit }
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login