The < script > tags in html are all exactly the same. How can you tell the difference?

<html>
    <srcipt/>    // 1
    <srcipt/>    // 2
    //....
</html>

there must be no problem when loading. If I want to get a specified srcipt tag, I can get the element by getting the < script > array and then using the subscript.
but this is very unstable, and if the order is changed, you will get the wrong srcipt.
so I want to ask, is there any way for me to get the same srcipt? It doesn"t have a class or id for me. )


you can add a class or id


this seems to have no way. If the owner of the website does not add it, what else can the crawler do? we can only pray that the page structure of the site will not change frequently


You can match other attributes like id or class , src

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea004a-1aa7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea004a-1aa7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?