add CloudflareInterceptor from TachiWeb-Server

This commit is contained in:
Aria Moradi
2021-08-23 03:45:10 +04:30
parent 2ebd5da4aa
commit 3272b9dec5
8 changed files with 255 additions and 218 deletions

View File

@@ -372,6 +372,6 @@ abstract class HttpSource : CatalogueSource {
override fun getFilterList() = FilterList()
companion object {
const val DEFAULT_USERAGENT = "Mozilla/5.0 (Windows NT 6.3; WOW64)"
const val DEFAULT_USER_AGENT = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36 Edg/88.0.705.63"
}
}