HDTutorial
EN

Playback starts YouTube’s embedded player (privacy-enhanced mode).

How To Extract URLs From A Website In Chrome? (No Downloads Required)

114,243 views November 8, 2013 1:17

Watch on YouTube
ChannelShan Eapen Koshy

Description from the creator

Learn how to extract links or urls from a website or a webpage using your web browser. This trick can be performed in any browser and it doesn't require any plugins.

Use this multiple url opener tool to open all links at once or to convert them to clickable links : goo.gl/fPOCOK
Read this article on our site where we discuss other methods to extract links from websites - codegena.com/?p=1454


##### Code for URL Extraction
urls = $$('a'); for (url in urls) console.log ( urls[url].href );

##### Code for URL Extraction with Anchor Text (COLOURED)(works for chrome/firefox)
var urls=$$('a');for(url in urls){console.log("%c#"+url+" - %c"+urls[url].innerHTML +" -- %c"+urls[url].href,"color:red;","color:green;","color:blue;");}

##### Code for URL Extraction with Anchor Text (IE/Edge)
var urls=$$('a');for(url in urls){console.log("#"+url+" - "+urls[url].innerHTML +" -- "+urls[url].href)}

Please like and share this video.
Subscribe to this channel for more videos like this!

About this tutorial

Shan Eapen Koshy published this 1:17 video tutorial on November 8, 2013. It has been watched 114,243 times on YouTube.

Duration
1:17
Published
November 8, 2013
Views
114,243
Likes
765

Tags

Share

This tutorial in other languages