Click here to Skip to main content
15,880,725 members
Home / Discussions / Java
   

Java

 
AnswerRe: Java Pin
barrontD4-Jan-18 19:51
barrontD4-Jan-18 19:51 
QuestionHow to build a simple web crawler that gets events for a future date? Pin
Member 135663578-Dec-17 21:32
Member 135663578-Dec-17 21:32 
AnswerRe: How to build a simple web crawler that gets events for a future date? Pin
Richard MacCutchan8-Dec-17 22:28
mveRichard MacCutchan8-Dec-17 22:28 
GeneralRe: How to build a simple web crawler that gets events for a future date? Pin
Member 135663578-Dec-17 22:39
Member 135663578-Dec-17 22:39 
GeneralRe: How to build a simple web crawler that gets events for a future date? Pin
Richard MacCutchan8-Dec-17 22:52
mveRichard MacCutchan8-Dec-17 22:52 
GeneralRe: How to build a simple web crawler that gets events for a future date? Pin
Member 135663578-Dec-17 22:58
Member 135663578-Dec-17 22:58 
GeneralRe: How to build a simple web crawler that gets events for a future date? Pin
Richard MacCutchan8-Dec-17 23:07
mveRichard MacCutchan8-Dec-17 23:07 
GeneralRe: How to build a simple web crawler that gets events for a future date? Pin
Member 135663578-Dec-17 23:18
Member 135663578-Dec-17 23:18 
I havent gotten that far yet. I dont really know. There are a lot of tools out there that help developers with these kinds of problems. I dont think I am the first person who wants to crawl websites looking for events, so it seems like there might be some already made tools either a java dependency I can put into my pom file or some npm package that will help me to solve that issue. If there is no such dependency, then I guess I will have to make it. If that is the case, the spontaneously, dont know if this is a good idea, because I came up with it 5 seconds ago. But You could create a bunch of lists of keywords that can be used as titles for the different data points I am interested with for example. Date could have a title on a website "date","Day of event", "Time", and so fourth. And then when you parse you looked for those key words, and then if you find it then you take the text that is nearby. Then using regular expressions you identify and remove any html tags. you could also have another list of regular expressions that identify if the text following the key word matches the regular expression, so in the case of date, you have like 50 regexes all identifying a date, so that you make sure to get a date. But yeah came up with that in 5 seconds. All I really want is events for a particular city on a particular date, maybe there is an API that takes care of that? Google doesnt, last time I checked.
GeneralRe: How to build a simple web crawler that gets events for a future date? Pin
Richard MacCutchan8-Dec-17 23:23
mveRichard MacCutchan8-Dec-17 23:23 
GeneralRe: How to build a simple web crawler that gets events for a future date? Pin
Member 135663578-Dec-17 23:28
Member 135663578-Dec-17 23:28 
Questionhuffman codeing Pin
Member 125740473-Dec-17 19:48
Member 125740473-Dec-17 19:48 
AnswerRe: huffman codeing Pin
Afzaal Ahmad Zeeshan3-Dec-17 21:18
professionalAfzaal Ahmad Zeeshan3-Dec-17 21:18 
AnswerRe: huffman codeing Pin
Patrice T5-Dec-17 12:13
mvePatrice T5-Dec-17 12:13 
Questionjava swing program problem Pin
Member 135535202-Dec-17 5:16
Member 135535202-Dec-17 5:16 
AnswerRe: java swing program problem Pin
Richard MacCutchan2-Dec-17 6:05
mveRichard MacCutchan2-Dec-17 6:05 
QuestionI need code source code for genetic synthesis and particle Swarm optimization in the netbeans environment to simulate cloudsim . Can anyone help me ? Pin
Member 1149240730-Nov-17 12:15
Member 1149240730-Nov-17 12:15 
AnswerRe: I need code source code for genetic synthesis and particle Swarm optimization in the netbeans environment to simulate cloudsim . Can anyone help me ? Pin
Richard MacCutchan30-Nov-17 21:13
mveRichard MacCutchan30-Nov-17 21:13 
AnswerRe: I need code source code for genetic synthesis and particle Swarm optimization in the netbeans environment to simulate cloudsim . Can anyone help me ? Pin
jschell1-Dec-17 7:59
jschell1-Dec-17 7:59 
QuestionWhat are the best methods to measure your test quality? Pin
Sealights 27-Nov-17 3:02
Sealights 27-Nov-17 3:02 
AnswerRe: What are the best methods to measure your test quality? Pin
Richard MacCutchan28-Nov-17 6:12
mveRichard MacCutchan28-Nov-17 6:12 
Questiongetting virus warning message from virustotal.com; can someone help me to understand this code Pin
Member 1353976424-Nov-17 7:15
Member 1353976424-Nov-17 7:15 
AnswerRe: getting virus warning message from virustotal.com; can someone help me to understand this code Pin
Richard Deeming28-Nov-17 2:32
mveRichard Deeming28-Nov-17 2:32 
QuestionBrand new Android Studio Install: Gradle synch failed Pin
Soujanya Naganuri24-Nov-17 1:21
professionalSoujanya Naganuri24-Nov-17 1:21 
QuestionDevelopment Platform: Thumb Drive Pin
C-P-User-321-Nov-17 3:08
C-P-User-321-Nov-17 3:08 
AnswerRe: Development Platform: Thumb Drive Pin
Jochen Arndt21-Nov-17 3:21
professionalJochen Arndt21-Nov-17 3:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.