Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
March 27, 2013 Text from the Internet page | ||||
---|---|---|---|---|
| ||||
How to get a piece of text from the Internet page with D code? |
March 27, 2013 Re: Text from the Internet page | ||||
---|---|---|---|---|
| ||||
Posted in reply to SaltySugar | 27.03.2013 17:43, SaltySugar пишет:
> How to get a piece of text from the Internet page with D code?
Its totally depends on context you are workin. For example you can use D as script and by means of wget to get the whole page and then parse it with sed. Also you can use curl and use D as programming language.
|
March 27, 2013 Re: Text from the Internet page | ||||
---|---|---|---|---|
| ||||
Posted in reply to SaltySugar | On Wednesday, 27 March 2013 at 10:43:44 UTC, SaltySugar wrote: > How to get a piece of text from the Internet page with D code? Something like this: http://dlang.org/phobos/std_net_curl.html#get ? |
March 27, 2013 Re: Text from the Internet page | ||||
---|---|---|---|---|
| ||||
Posted in reply to SaltySugar | SaltySugar: > How to get a piece of text from the Internet page with D code? By lines: http://rosettacode.org/wiki/Web_scraping#D Whole: http://rosettacode.org/wiki/Rosetta_Code/Rank_languages_by_popularity#D Bye, bearophile |
March 27, 2013 Re: Text from the Internet page | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile | On Wednesday, 27 March 2013 at 12:03:59 UTC, bearophile wrote:
> SaltySugar:
>
>> How to get a piece of text from the Internet page with D code?
>
> By lines:
> http://rosettacode.org/wiki/Web_scraping#D
>
> Whole:
> http://rosettacode.org/wiki/Rosetta_Code/Rank_languages_by_popularity#D
>
> Bye,
> bearophile
Thank you, guys :)
|
Copyright © 1999-2021 by the D Language Foundation