Giter Site home page Giter Site logo

Non-Github mirrors about blocklists HOT 3 CLOSED

jmdugan avatar jmdugan commented on September 26, 2024
Non-Github mirrors

from blocklists.

Comments (3)

timvisee avatar timvisee commented on September 26, 2024

You could mirror it on GitLab. Simply create a repository, and configure a pull mirror in it's settings. Or is this not what you're looking for?

from blocklists.

JayBrown avatar JayBrown commented on September 26, 2024

I tried doing that, but it's the same error: "Can't download the hosts file. It contains unknown content".

URLs tried:
https://raw.githubusercontent.com/jmdugan/blocklists/master/corporations/facebook/all
https://gitlab.com/JayBrown/blocklists-mirror/-/raw/master/corporations/facebook/all

Those git platforms are doing something weird, even though it's supposed to be a raw link. So a true external mirror would be needed instead.

from blocklists.

jmdugan avatar jmdugan commented on September 26, 2024

source for gasmask is available from github

it's throwing and error because it thinks the content-type header is wrong. (function "addUnknownContentTypeError")

curl -v -I "https://gitlab.com/JayBrown/blocklists-mirror/-/raw/master/corporations/facebook/all" | less
shows the headers, including
content-type: text/plain; charset=utf-8

in gasmask, see HostsDownloader.m lines 185, 108, 29, etc. to follow the process

on quick inspection, it looks like it should work, the header returned from that URL begins with the text "text/plain"

don't have time (or experience with obj-c) to debug it now; it looks like a bug in gasmask?

from blocklists.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.