Solved

crawling ajax/javascript content, need help id'ing url

Posted on 2015-01-11
2
293 Views
Last Modified: 2015-01-11
I want to crawl the list of shows on this page: tvguide.com/social/

They are loaded via ajax and/or javascript, I'm not sure how it works... but I've been told I just need to identify the url or ajax call and I can use that to access the content.

I have not been able to id it though, can you help?

Thanks,

Chris
0
Comment
Question by:St_Aug_Beach_Bum
2 Comments
 
LVL 10

Accepted Solution

by:
Jeffrey Dake earned 500 total points
ID: 40543605
Looks like here is your url.  http://www.tvguide.com/social/assets/handlers/trending.ashx?serviceid=80001&total=10

I found this by using firefox.  I inspected using firebug and looked at the net tab.  Looking at the responses from each request that was going out I was able to find this url for you you.  You may need to change the total parameter, but it looks like that is what you are looking for.
0
 

Author Closing Comment

by:St_Aug_Beach_Bum
ID: 40543614
Thank you very much, I spent way to much time this afternoon trying to figure that out!
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question