Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by lancer · Aug 20, 2013 at 11:01 PM · www

How To Download A Webpage?

I want to download http://www.yvr.ca/en/flight-information/departing.aspx and take the Time, Airline, Flight#, Destination, Status, and Gate fields using WWW and display them in the console in a nice looking format. How can I do this?

Comment
Add comment · Show 6
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image whydoidoit · Aug 20, 2013 at 11:17 PM 0
Share

Could be hard, flight information is usually made fairly hard to get at as it usually has a cost implication.

That web page uses Javascript rather than aspx to build tables.

avatar image lancer · Aug 20, 2013 at 11:20 PM 0
Share

I don't know how to manipulate the page so as the get the data from it once it is downloaded.

avatar image lancer · Aug 21, 2013 at 12:07 AM 0
Share

How would I break the data I want up and sort it into arrays?

avatar image lancer · Aug 21, 2013 at 02:10 AM 0
Share

Does anyone know how to download the data and display it in the console??

avatar image yoyo · Aug 21, 2013 at 06:18 AM 1
Share

You would probably be better off finding a supported web service API for flight information, perhaps something like http://www.flightexplorer.com/products/webservice/webservice.aspx

Show more comments

2 Replies

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by lancer · Aug 21, 2013 at 06:22 PM

I found what site the java scripts where getting and now have it working right, thanks all.

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image whydoidoit · Aug 21, 2013 at 07:22 PM 2
Share

Just be careful about the legality of using it.

avatar image ShadoX · Aug 21, 2013 at 08:02 PM 1
Share

Agree with whydoidoit. Had a friend who did something similar.. (made a phone App that got all info from a third party site) Eventually he was contacted by the site and asked to change the App (to make sure that everyone knows where the info is co$$anonymous$$g from) or remove it from the App store.

avatar image Benproductions1 · Aug 21, 2013 at 11:06 PM 0
Share

@yoyo made a very good suggestion that would solve the legality issue XD

avatar image
4

Answer by Bunny83 · Aug 21, 2013 at 04:28 AM

What you might want to use is the htmlagilitypack. However, parsing a third party site is always risky since it's layout could be changed at any time. Also you should check if it's legal to use this information in third party tools. In most cases it's not. If it's just for a private project that shouldn't be a problem.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Benproductions1 · Aug 21, 2013 at 04:41 AM 0
Share

Good answer +1

avatar image whydoidoit · Aug 21, 2013 at 06:13 AM 0
Share

Agreed +1.

As I mentioned there is no data being sent to the HT$$anonymous$$L on that site, you'd need a Javascript engine to execute the script to download and create the tables which end up as a part of the DO$$anonymous$$.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

21 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Remove .dll 1 Answer

WWWForm.Addfield not able to post data to server 1 Answer

www.text + php + c# issue 2 Answers

Download a WWW int? Or convert? 1 Answer

How to yiled a try/catch block? 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges