Community
    • Login

    making a list of URLs?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    codertgfgftgyhgtkjhurlsmaking a list orgegtdfy
    2 Posts 2 Posters 857 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Bahman DarioushB
      Bahman Darioush
      last edited by

      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 ++.

      1 Reply Last reply Reply Quote 0
      • Jim DaileyJ
        Jim Dailey
        last edited by Jim Dailey

        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
        }
        
        1 Reply Last reply Reply Quote 3
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors