d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Grabbing And Saving Files Online
Prev12
Add Reply New Topic New Poll
Member
Posts: 14,631
Joined: Sep 14 2006
Gold: 575.56
May 3 2016 08:23pm
ya sorry don't always have time to hold your hand but you understood eventually didnt you
how are you pulling only the 20 or so files he wants and not the other ones on the page, that was why i parsed the html couldn't think of a good way to only look at that section

theres a couple windows haters at my work too.. pretty ironic imo for a c# shop

This post was edited by Ideophobe on May 3 2016 08:24pm
Member
Posts: 32,925
Joined: Jul 23 2006
Gold: 3,804.50
May 3 2016 08:33pm
Quote (Ideophobe @ May 3 2016 10:23pm)
ya sorry don't always have time to hold your hand but you understood eventually didnt you
how are you pulling only the 20 or so files he wants and not the other ones on the page, that was why i parsed the html couldn't think of a good way to only look at that section


you still didn't describe which wouldn't work. he offered two solutions, one that reads the html (using an xml parser) and one that greps. as far as i can tell they should both work fine.
Member
Posts: 13,425
Joined: Sep 29 2007
Gold: 0.00
Warn: 20%
May 3 2016 10:34pm
Quote (Ideophobe @ May 3 2016 10:23pm)
how are you pulling only the 20 or so files he wants and not the other ones on the page, that was why i parsed the html couldn't think of a good way to only look at that section


Quote


Quote
XPath is a syntax for defining parts of an XML document. XPath uses path expressions to navigate in XML documents. XPath contains a library of standard functions. XPath is a major element in XSLT. XPath is a W3C recommendation.


ya sorry don't always have time to hold your hand but you understood eventually didnt you

Quote (carteblanche @ May 3 2016 10:33pm)
you still didn't describe which wouldn't work. he offered two solutions, one that reads the html (using an xml parser) and one that greps. as far as i can tell they should both work fine.


He was just being ignorant again. Apparently he thought I was grabbing every file on the page? Like, I know he is new and all to development, but still it takes 2 seconds to google keywords from my responses to figure this out.

I still have no idea what problems he saw.

This post was edited by AbDuCt on May 3 2016 10:57pm
Member
Posts: 14,631
Joined: Sep 14 2006
Gold: 575.56
May 4 2016 03:36am
ya total web scrub never touched it besides a super basic html course had never heard of xpath before thanks still don't entirely understand the syntax you used but i think i get it conceptually at least i'll look into it some more over the summer i guess

sorry i read your back to back posts as
"wtf are you talking about 2 year old"
"o i see what you're saying now but i'm not gonna apologize for the insults and just keep right on the net rager track"
my misunderstanding i apologize

anyway that's still really cool i never thought about skipping to sections of an html page like it was xml i had no idea the two were interchangable cool tutorial looks like a cool site i'll have to read it over this summer
Member
Posts: 32,925
Joined: Jul 23 2006
Gold: 3,804.50
May 4 2016 06:04am
Quote (Ideophobe @ May 4 2016 05:36am)
anyway that's still really cool i never thought about skipping to sections of an html page like it was xml i had no idea the two were interchangable cool tutorial looks like a cool site i'll have to read it over this summer


they aren't "interchangeable"
Member
Posts: 14,631
Joined: Sep 14 2006
Gold: 575.56
May 4 2016 11:38am
Quote (carteblanche @ May 4 2016 06:04am)
they aren't "interchangeable"


bad word i guess i shoulda said something more like you can use xpath on either of them
Go Back To Programming & Development Topic List
Prev12
Add Reply New Topic New Poll