224124 Simple Link Grabber


I need a simple PHP script that will grab all links off a page. I want it to read a .txt file with a full list of urls to parse. It should parse each url and simply extract the full link in the a href statements. These urls will most likely only be showing local file names in the href statement so I need you to add the front portion in when you go to write it.

I want all the links written to the same file. So here's an example:

I have a .txt file with 3 urls in it:

[url removed, login to view]

[url removed, login to view]

[url removed, login to view]

I want each url read and ALL links from on that page from ALL 3 URLS written to the same file ([url removed, login to view]) in the same place the link grabber script was run from (so just create the file upfront and append to it as you go).

So if the 3 domains above each had 1 link on them, I would then end up with ONE file, [url removed, login to view], with 3 different urls written to it. Just one url per line with the FULL URL written. So let's say each domain above had a link on it called abc.php. The "[url removed, login to view]" file written from above example would be:

[url removed, login to view]

[url removed, login to view]

[url removed, login to view]

Very Simple stuff. I don't have time to code it myself.

Who wants it?

Kemahiran: Semua Boleh, PHP

Lihat lagi: link in, write a simple php script, append line file, php script grabber, php read txt, url parse, script grabber php, read txt file php, append extract file, local domain time, simple list urls, grabber code, simple url file, simple url script, simple page script, create simple line, php script parse file, write simple php script, code link grab php, php code grabber, grabber php script, link list script, parse link, url grabber script, domain3

Tentang Majikan:
( 5 ulasan )

ID Projek: #1970360

Dianugerahkan kepada:


Hello! I'm ready to help. Thank you! Ilshat

$20 USD dalam sehari
(63 Ulasan)