+ 3
How to get host links from javascript
22 Respuestas
+ 1
I m writing script in python 2.7.13 but inside js script
+ 1
The links r hidden inside js script
0
I'm not sure if I'm misunderstanding but this will get you a list of all the links on the DOM.
var linkList = document.
getElementsByTagName("a");
console.log(linkList);
0
Thank u Antony I will give a try
0
I have try this code dissent give me anything python 2.7.13
0
It's actually mp4 links
0
Ok it is all the same except instead of getElementsByTagName"a"
Use
getElementsByTagName"video"
Did you mean Python or JavaScript?
0
When i type your code it gives me error linkList
0
var linkList = document.
getElementsByTagName("video");
console.log(linkList);
0
Ok, skip the variable and just try
console.log(document.getElementsByTagName("video"));
0
Or you can type in
document
In the console and get a list of everything.
0
Movies links r in href
0
<a target = _blank href=http://verystream.com/stream/2agkXxLgRXp/ rel="noopener noreferrer">
0
Ok than use tag name "link" and it gives you a list
0
<iframe src=http://openload.co/f/x6s6GZIMHzU rel="noopener noreferrer"
0
The tag name is <a> in that example.
and iframe in the second example
0
Yes
0
One tag name is <a> and another tag name is <iframe>
0
Python says name console is not define
0
I m doing this site https://mkvhub.com