manix Posted October 28, 2011 Share Posted October 28, 2011 Hey guys, I'm curious if there's any way to retrieve the contents of a certain div on a page, say I want to get the title of the movie on this page: click (meaning movie title, "Transformers" in this case) Is it possible? Thank you in advance. Quote Link to comment https://forums.phpfreaks.com/topic/250007-retrieving-contents-from-a-page-that-youre-probably-not-meant-to/ Share on other sites More sharing options...
ZulfadlyAshBurn Posted October 28, 2011 Share Posted October 28, 2011 Yea, using DOM DOCUMENT Quote Link to comment https://forums.phpfreaks.com/topic/250007-retrieving-contents-from-a-page-that-youre-probably-not-meant-to/#findComment-1283108 Share on other sites More sharing options...
ZulfadlyAshBurn Posted October 28, 2011 Share Posted October 28, 2011 Check this Quote Link to comment https://forums.phpfreaks.com/topic/250007-retrieving-contents-from-a-page-that-youre-probably-not-meant-to/#findComment-1283110 Share on other sites More sharing options...
Psycho Posted October 28, 2011 Share Posted October 28, 2011 Well, it is possible, but not legal - at least not for that link. Unless you get their written permission. http://www.imdb.com/help/show_article?conditions License and Site Access IMDb grants you a limited license to access and make personal use of this site and not to download (other than page caching) or modify it, or any portion of it, except with express written consent of IMDb. This site or any portion of this site may not be reproduced, duplicated, copied, sold, resold, visited, or otherwise exploited for any commercial purpose without express written consent of IMDb. This license does not include any resale or commercial use of this site or its contents or any derivative use of this site or its contents. Robots and Screen Scraping: You may not use data mining, robots, screen scraping, or similar data gathering and extraction tools on this site, except with our express written consent as noted below. Quote Link to comment https://forums.phpfreaks.com/topic/250007-retrieving-contents-from-a-page-that-youre-probably-not-meant-to/#findComment-1283114 Share on other sites More sharing options...
manix Posted October 29, 2011 Author Share Posted October 29, 2011 Well, it is possible, but not legal - at least not for that link. Unless you get their written permission. http://www.imdb.com/help/show_article?conditions License and Site Access IMDb grants you a limited license to access and make personal use of this site and not to download (other than page caching) or modify it, or any portion of it, except with express written consent of IMDb. This site or any portion of this site may not be reproduced, duplicated, copied, sold, resold, visited, or otherwise exploited for any commercial purpose without express written consent of IMDb. This license does not include any resale or commercial use of this site or its contents or any derivative use of this site or its contents. Robots and Screen Scraping: You may not use data mining, robots, screen scraping, or similar data gathering and extraction tools on this site, except with our express written consent as noted below. but that doesn't make any sense. If I'm making a movies site and I upload info about a certain movie it's going to be exactly the same as it is in IMDb, so they can say I copied it, which is not true ? Quote Link to comment https://forums.phpfreaks.com/topic/250007-retrieving-contents-from-a-page-that-youre-probably-not-meant-to/#findComment-1283200 Share on other sites More sharing options...
ZulfadlyAshBurn Posted October 29, 2011 Share Posted October 29, 2011 If you are trying to get data from IMDb page, its illegal unless you get written permission. You can create a movie info stie but not exactly like IMDb. they have no copyright/trademark on the layout of the page. Quote Link to comment https://forums.phpfreaks.com/topic/250007-retrieving-contents-from-a-page-that-youre-probably-not-meant-to/#findComment-1283220 Share on other sites More sharing options...
Psycho Posted October 29, 2011 Share Posted October 29, 2011 If you are trying to get data from IMDb page, its illegal unless you get written permission. You can create a movie info stie but not exactly like IMDb. they have no copyright/trademark on the layout of the page. Yes, they absolutely do have a copyright on the layout of their site. They do not, however, own the rights to the information. But, they have every right from allowing you to copy the content from their site. They have taken time and resources to put together the information they provide. Why should someone simply be able to copy all the information from their site without having to put in the time and effort? But, be advised, you may also have issues with displaying any artwork from a movie. Quote Link to comment https://forums.phpfreaks.com/topic/250007-retrieving-contents-from-a-page-that-youre-probably-not-meant-to/#findComment-1283297 Share on other sites More sharing options...
ZulfadlyAshBurn Posted October 29, 2011 Share Posted October 29, 2011 Mjdamato, ive checked with my lawyers and they said that the layout are not allowed.to be.copyrighted of trademarked. Only the designs, artworks, logos & contents are are allowed to be copyrighted or trademarks. Quote Link to comment https://forums.phpfreaks.com/topic/250007-retrieving-contents-from-a-page-that-youre-probably-not-meant-to/#findComment-1283298 Share on other sites More sharing options...
Psycho Posted October 29, 2011 Share Posted October 29, 2011 LOL, your lawyers, yeah right. But, it depends on what you mean by "layout". If you write your own code from scratch that has the same layout as another site with respect to location/size of content areas and such, then no, it is not a copyright infringement. But, what I meant by copying the layout was copying the source code (HTML/CSS) and then using that for your own content. Whatever the case, what the OP is trying to do IS in violation of the terms of service for IMDB - period. Quote Link to comment https://forums.phpfreaks.com/topic/250007-retrieving-contents-from-a-page-that-youre-probably-not-meant-to/#findComment-1283304 Share on other sites More sharing options...
jcbones Posted October 29, 2011 Share Posted October 29, 2011 Not a legal firm I would trust explicitly. I could go on, and on!!! You can use "limited portions", and you still must CITE them. Using everything and citing them is still illegal. Quote Link to comment https://forums.phpfreaks.com/topic/250007-retrieving-contents-from-a-page-that-youre-probably-not-meant-to/#findComment-1283306 Share on other sites More sharing options...
Psycho Posted October 30, 2011 Share Posted October 30, 2011 Right, but the question was not about whether he could "use" any of the content. It was with respect to scraping the site - which is specifically forbidden per their terms of use. Quote Link to comment https://forums.phpfreaks.com/topic/250007-retrieving-contents-from-a-page-that-youre-probably-not-meant-to/#findComment-1283379 Share on other sites More sharing options...
jcbones Posted October 30, 2011 Share Posted October 30, 2011 Right, but the question was not about whether he could "use" any of the content. It was with respect to scraping the site - which is specifically forbidden per their terms of use. My post was in response to the "lawyers" stating it was ok. Quote Link to comment https://forums.phpfreaks.com/topic/250007-retrieving-contents-from-a-page-that-youre-probably-not-meant-to/#findComment-1283490 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.