accessing image url defined in script tags?

0 Aditya Jayam · June 18, 2015
how to get the background image url which is defined in script tags(java script )?

Post a Reply

Replies

Oldest  Newest  Rating
0 Eshant Gupta · June 19, 2015
Hi Aditya,

Please give an example...

Are you talking about Google Ad or something similar to that? I think you can't get that
0 Mr. Computer · June 20, 2015
What Do You Mean ?
0 Aditya Jayam · June 25, 2015
<script>
function myFunction() {
    document.body.style.backgroundImage = "url('img_tree.png')";
}
</script>
something like this , i want to get the url of the background image , can it be done using beautiful soup or any other library..
sorry for the delay 
  • 1

Python

107,112 followers
About

This section is all about snakes! Just kidding.

Links
Moderators
Bucky Roberts Administrator