AstraLuma / catfind

Sphinx indexer & search engine
0 stars 0 forks source link

Positively identify RTD on custom domains #8

Open AstraLuma opened 2 years ago

AstraLuma commented 2 years ago

Be able to positively identify when a custom domain is an RTD site.

AstraLuma commented 2 years ago
  1. Grab any HTML page
  2. Look for <script type="application/json" id="READTHEDOCS_DATA"> with beautiful soup
  3. Parse the JSON