Hamuko / cum

comic updater, mangafied
Apache License 2.0
171 stars 15 forks source link

mangadex: cloudflare is blocking requests without user agent #68

Closed mxnemu closed 5 years ago

mxnemu commented 5 years ago

Currently all mangadex requests fail with these error messages:

    <div class="cf-alert cf-alert-error cf-cookie-error" id="cookie-alert" data-translate="enable_cookies">Please enable cookies.</div>
          <span class="cf-error-code">1020</span>

Adding any user-agent header fixes it. Cookies don't seem to be actually be required.

Hamuko commented 5 years ago

04c7d86f228d2ea54889b558821f7d1479312491