-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
se reparo error al obtener las imagenes de los capitulos
- Loading branch information
1 parent
7d4d3fa
commit 1750b54
Showing
3 changed files
with
57 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Net.Http; | ||
using System.Text; | ||
|
||
namespace ErinaScraper.src.ErinaScraper | ||
{ | ||
class ErinaClientHttp | ||
{ | ||
private HttpClient httpClient; | ||
|
||
public HttpClient InitHttp(string urlfer) | ||
{ | ||
httpClient = new HttpClient(); | ||
httpClient.DefaultRequestHeaders.Add("method", "GET"); | ||
|
||
httpClient.DefaultRequestHeaders.Add("authority", "lectortmo.com"); | ||
|
||
httpClient.DefaultRequestHeaders.Add("accept", "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9"); | ||
httpClient.DefaultRequestHeaders.Add("referer", urlfer); | ||
|
||
return httpClient; | ||
} | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters