logo

searx

My custom branche(s) on searx, a meta-search engine git clone https://hacktivis.me/git/searx.git

Deviantart.xml (1327B)


  1. <!--
  2. For problematic rules, see Deviantart-mismatches.xml.
  3. Other deviantArt rulesets:
  4. - Sta.sh.xml
  5. ToDo: Find edgecast URL for /(fc|th)\d+.
  6. Mixed content:
  7. - Images on *.....com from e.deviantart.net *
  8. * Secured by us
  9. -->
  10. <ruleset name="DeviantArt (pending)" default_off="site operator says not ready yet">
  11. <target host="deviantart.com" />
  12. <target host="*.deviantart.com" />
  13. <target host="deviantart.net" />
  14. <target host="*.deviantart.net" />
  15. <!-- Not secured by server:
  16. -->
  17. <!--securecookie host="^\.deviantart\.com$" name="^userinfo$" /-->
  18. <securecookie host="^\.deviantart\.com$" name=".*" />
  19. <!-- Redirects from com to net, but does so successfully by itself.
  20. -->
  21. <rule from="^http://([aei]|fc\d\d|s[ht]|th\d\d)\.deviantart\.(com|net)/"
  22. to="https://$1.deviantart.$2/" />
  23. <!-- This handles everything that isn't in the first rule.
  24. Namely, usernames, backend, fc, th, and (www.).
  25. These domains present a cert that is only
  26. valid for .com.
  27. Note that .net isn't used on DA, but.net does
  28. redirect to .com, and we shouldn't break what would
  29. otherwise work.
  30. Mustn't rewrite from https here, as doing so
  31. would conflict with the first rule.
  32. -->
  33. <rule from="^http://([^/:@\.]+\.)?deviantart\.(?:com|net)/"
  34. to="https://$1deviantart.com/" />
  35. </ruleset>