L
L
Laguna_Seca2017-08-31 20:26:35
Parsing
Laguna_Seca, 2017-08-31 20:26:35

Parsing a file in c# to download a file. How is it better?

There is a format file

<li class="emoji-grid__item" ng-repeat="emoji in category.emojis">
        <span title="smiling face with open mouth" class="emoji-grid__emoji">
          <img src="//link.com/2326.svg" ng-src="//link.com/2326.svg">
        </span>
      </li>
      
      <!---->
      
      <li class="emoji-grid__item" ng-repeat="emoji in category.emojis">
        <span title="smiling face with open mouth &amp; smiling eyes" class="emoji-grid__emoji">
          <img src="//link.com/2326.svg" ng-src="//link.com/2326.svg">
        </span>
      </li>

You need to download files from links from src, naming them with text from title. The file is very large. How best to implement?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Ananiev, 2017-08-31
@SaNNy32

Use html parser like https://github.com/jamietre/CsQuery

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question