AdguardTeam / FiltersCompiler

A tool that compiles & validates filters
GNU Lesser General Public License v3.0
52 stars 12 forks source link

Subscription URL in the filters.json should be platform-specific value #35

Closed ameshkov closed 5 years ago

ameshkov commented 5 years ago

For instance, for Android:

{
            "filterId": 112,
            "name": "Liste AR",
            "description": "Supplement for EasyList. Language: العربية",
            "timeAdded": "2014-06-30T10:56:55+0300",
            "homepage": "https://code.google.com/p/liste-ar-adblock/",
            "expires": 172800,
            "displayNumber": 2,
            "groupId": 7,
            "subscriptionUrl": "https://filters.adtidy.org/android/filters/112_optimized.txt",
            "version": "2.0.25.73",
            "timeUpdated": "2018-12-04T19:00:30+0300",
            "languages": [
                "ar"
            ],
            "tags": [
                1,
                9,
                10,
                38
            ]
        },

Use _optimized for Android, iOS, Safari. Use regular versions for other platforms.

Mizzick commented 5 years ago

Fixed