Le 4 mai 2021, la plateforme Yahoo Questions/Réponses fermera. Elle est désormais accessible en mode lecture seule. Aucune modification ne sera apportée aux autres sites ou services Yahoo, ni à votre compte Yahoo. Vous trouverez plus d’informations sur l'arrêt de Yahoo Questions/Réponses et sur le téléchargement de vos données sur cette page d'aide.
is it possible to code a web page to pull info off other websites?
example: craigslist. is it possible to import certain searches with special keywords to another website? like if I was searching for a specific patio furniture piece... could a page be created to import an ad once it's created (or email somebody)
2 réponses
- il y a 1 décennieRéponse favorite
Yes, its called a website crawler or scraper. Basically the application loads another website, parses the HTML of the webpage, pulling out the content you need, and doing whatever it is instructed to do with said content. However before you go through the trouble of doing such a thing, check to make sure the website doesn't have an API that will provide all the data you need in an XML response (or some other easily parsable response). Ie. You could scrape youtube for video's, searching for the HTML code to embed the video, or just make an API call to YouTube, and get an XML response back with 50 videos that match a search term that you can just loop through adding the video Id it gives to the embed code.
- meskeLv 4il y a 4 ans
different than what's been reported, I ought to notice that something that's performed server-area (like Hypertext Preprocessor, or quite, something yet HTML, CSS or Javascript) can not be seen by ability of the top-person. I additionally must say that I have not have been given any project getting access to the source code of that internet site, or replica+pasting it into an editor (Firefox3 on Linux). no remember what you do, somebody can probable get around it. I only pass forward and launch all of my code under the MIT license, because of the fact Open-source is sturdy (tm).