How to get the data I need from airbnb web page? [closed] - javascript

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I want to get the dates booked and price from the the airbnb page: https://www.airbnb.com.sg/rooms/2781352 under the "Calendar" tab of it.
I am quite newbie to this, and I want to python to do that, can I?
And what else should learn, javascript, PHP?

For extracting data from web pages, my first stop is Beautifulsoup. It is designed for just this purpose, and is excellent at it. Combine it with the great requests HTTP library (so much better and easier than urllib/urllib2/etc.) for getting the pages.
Both of these are Python modules, there is no need to learn any other programming languages to do it, although it greatly helps to have an understanding of HTML and DTDs (Document Type Definitions) for setting up paths.

Related

What do most forum website build on? Dynamic or Static Websites? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 2 years ago.
Improve this question
I'm planning to create a forum website from 0 for my portfolio and learning experience. What should I choose between static and dynamic? Since I just thought it might affect my website performance.
I know the basic difference between static and dynamic which is one is pre-built and the other is rendered from the server-side.
I have experience in react, express, axios, mongodb, and MySQL
Any suggestion?
Big Forums are all dynamic websites.
What big sites will do for better performance is caching of dynamically generated > content. But you do not need this unless you have ~10 new visitors EVERY second ;)
Quoted from #phip1611

Default path of database in a bootstrap website? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
My Boss just gave me a website of his friend so the developer that build it was fired and i need to access the data base to change things.
The Website is developed using Bootstrap and I never used it Before where do I find the definition of the database connection help please.
Nowhere.
Bootstrap is a collection of CSS and (client-side) JavaScript.
It isn't a traditional, server-side MVC framework (or anything else that would fulfil a similar role) and doesn't do anything that would involve a database.
Bootstrap might be used in the output of a View from such a framework, but that's handled at a different level in the codebase.

How do I validate HTML with Javascript? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I would like to verify that a string is valid HTML, like the W3C Service does. I specifically don't want any browser corrections (like closing open tags), which precludes options that create DOM elements and read the HTML from them. It will run very frequently, so I really need to run it locally. Libraries are OK, jQuery is OK.
Edit #1: I'm asking about HTML validation, not form or input validation.
Edit #2: What I need is basically a Javascript implementation of the Nu HTML Checker.
Provided you're running node.js or python on the server side you can use a library like html5-lint by Mozilla to do all the heavy lifting for you. And for the java world there is a similar library jtidy and there are countless of similar libraries out there.

Combining JS Frameworks [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
From an experienced developer's perspective, is bad practice to create a web application using multiple JS frameworks ?
For example, if you start using AngularJS and if some tasks of the project can be done easier with JQuery, should you go for it, or try to make that part in Angular too ?
In my opinion, a framework should only be used if it's absolutly necessary. E.g if you do lots of DOM work, jQuery is the right one.
But, if you need a mvn framework, go for angular/backbone or something like this.
Tio many people today think that for each and every single problem, a framework is the best solution.
Sometimes, it could be the best solution to use 2 frameworks. E.g. jQuery + lodash.
So the answer is... It depends on the type of application you want to develop. My approach would be to allways ask whether the framework is really needed, or if you maybe just need a single function that you better could write on your own.

Can I build a solid website without using Javascript? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I'm just starting to learn web development and I've been wondering If I can build solid websites using only HTML, CSS and maybe some PHP.
I don't want anything complicated I wanna start simple just to get used to those languages before starting to learn JS because I feel it's a bit more complicated and I'm not good with programming languages.
I wanna be able to create something like this: http://enactus.org/
I can't comment so i'll post as an answer. So please no down voting.
You can create a website but that site won't be an interactive website. What I mean is that the site will not be able to get data from users and save it in databases (well you can if you wan't to use some php but php is also more on the math, logic and stuffs that you would typically use on javascript.), or buttons that would do stuffs without refreshing the website... So to summarize it if you want to learn website designing first HTML and CSS is a way to go and also can be a great start for beginners like us. And if you want your site to be interactive start learning Javascript and PHP.

Categories