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 9 years ago.
Improve this question
I'm creating a simple web crawler in C++. At the moment I've managed to get the HTML code from an seed URL, saved in either an string or text file.
How can I find and save the URLs in the HTML I want to continue my web crawling?
To do this robustly, you need a proper HTML parser. Gumbo is an open source HTML5 parser written an opensourced by Google that you can use to implement something like this.
Related
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 4 years ago.
Improve this question
First sorry for my bad english and my unclear question.
I am trying to make my own blog that can post articles.
Using django basic form is convenient, but its form is just plain.
I want to be able to underline, change colors, and use images.
So basically I want to the feature the image below
the picture
I want to implement the thing in the black oval (I don't know its specific name... T.T).
So is there any APIs or feature implemented in django itself? Or can you tell me what it is called? I don't know what it is called in english so I can't search for it at all..
Thank you for reading my question.
You can do it bytinyMCE, quilljs.
But you should have basic understanding how django form works.
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 5 years ago.
Improve this question
Good morning,
I want to write a small tool (possible with Java, C/C++ ???) that queries the messages on https://cve.mitre.org/data/downloads/index.html and filters only certain relevant messages.
My questions:
1. Which format is the best one for parsing data? In the textfile, for example, all the information is arranged together. So I think a filter for searching specific headers and specific lines will not work.
How do I get the information from one of the files locally on my PC or on a server?
How do I read and filter this information?
I'd recommend the JSoup Java library for fetching and parsing web pages. You can use a syntax very similar to jQuery for extracting data from the pages you've fetched.
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 5 years ago.
Improve this question
I want a webpage in django that accepts csv file from the user and need to process that data.could you please help me
http://docs.python.org/library/csv.html
Python has builtin library to parsing csv file and process data of csv file according to your logic
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 5 years ago.
Improve this question
I am making a desktop app using ember.js and electron. I need to read data from excel file.
Can anyone give me simple code snippet for this? Are there any external libraries for this purpose?
You can use js-xlsx. Add it as bower dependecy and add its imports to your ember-cli-build file as:
app.import('bower_components/js-xlsx/dist/jszip.js');
app.import('bower_components/js-xlsx/dist/xlsx.min.js');
Handle it as the documentation's parsing-workbooks section shows. (handleFile function is explaining it well.)
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
I have developed several classes for classic asp (REST)
uploadFile.asp
deleteFile.asp
getListObject.asp
After testing, I was surprised at the result:
Uploaded file to the server
Deleting a file
Get list objects
The file remains on the list
I use cloudberry explorer and see that file no exist.
In what may be the problem?
I found the answer.
Maybe it's problem of classic asp. I needed a dynamic query string. When I use an alternative authentication method and it works.