简体   繁体   中英

get js array from 3rd party site programmatically

i want to have an array parsed from 3rd party site...

given a site:

(example:) https://videa.hu/player?f=8.1780672.2241728.0

if i type videaPlayerController.contentConroller.context.xmlValues.video_sources into console i get the sources, that's what i need...

The response comes from VideaPlayerClasses.min.js but as the name implies it's a minified js file... and i completly lost in the code trying to find what should i do...

any ideas?

There is the answer: https://videa.hu/videaplayer_get_xml.php?v=mmqkOXBnJVF4OHVJ&m=0

https://videa.hu/videaplayer_get_xml.php?v= <video_id> &m=0

gives back everything about the video in xml...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM