mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
Gazelle: don't use hardcoded encoding
This commit is contained in:
@@ -295,7 +295,7 @@ namespace Jackett.Common.Indexers.Abstract
|
|||||||
&& content[0] != 'd' // simple test for torrent vs HTML content
|
&& content[0] != 'd' // simple test for torrent vs HTML content
|
||||||
&& requestLink.Contains("usetoken=1"))
|
&& requestLink.Contains("usetoken=1"))
|
||||||
{
|
{
|
||||||
var html = Encoding.UTF8.GetString(content);
|
var html = Encoding.GetString(content);
|
||||||
if (html.Contains("You do not have any freeleech tokens left."))
|
if (html.Contains("You do not have any freeleech tokens left."))
|
||||||
{
|
{
|
||||||
// download again with usetoken=0
|
// download again with usetoken=0
|
||||||
|
Reference in New Issue
Block a user