Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
733 views
in Technique[技术] by (71.8m points)

google chrome - Where to find the response video data?

This is regarding retrieving data from Mr.Robot

When I used the inspect element tool to investigate the traffic I was getting from the site via the network panel, here's a sample of the data I got enter image description here

Does anyone know where I can find the data that corresponds to the video(tv episode)?

I saw that the file format of xhr represents the XMLHttpRequest so that is a combination of my browser requesting JSON, HTML, and XML from the web server? (Can someone confirm this as well)

I am trying to find a type that corresponds to one of these but having no luck.

I am doing this to enhance my knowledge of web and network engineering.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

In the network tab, if you select to see the headers tab, you can see this information:

Request URL:http://api.massrelevance.com/usadigitalapps/mr-robot-tag-mrrobot.json?limit=5&since_id=1039088770827352555_891624285

Here, you can see it's a request to a JSON file. :D

enter image description here

EDIT: Try going to this URL when the video is not playing in the browser (for some reason, when I had the page loaded this was returning as blank):

http://api.massrelevance.com/usadigitalapps/mr-robot-tag-mrrobot.json?limit=5&since_id=1039263408306586885_20082880

That was the request mine was making. In there, you can find a video URL:

https://scontent.cdninstagram.com/hphotos-xaf1/t50.2886-16/11765169_875397039210031_1586195986_n.mp4

Remove the and you'll see the video :D


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...