openzim / ifixit

iFixit to ZIM scraper
GNU General Public License v3.0
24 stars 3 forks source link

Handle unapproved categories translations #30

Closed benoit74 closed 2 years ago

benoit74 commented 2 years ago

Cf. content_renderded on https://fr.ifixit.com/api/2.0/wikis/CATEGORY/MacBook_Core_2_Duo?langid=fr vs https://fr.ifixit.com/api/2.0/wikis/CATEGORY/MacBook_Core_2_Duo?langid=en

=> should we use the fact that "revision_id=0" to detect that the current translation is unapproved and we should go to another language ?

=> same issue for unapproved guides translation (when it is the first translation ?) ?