Cov txheej txheem:

Kuv yuav export ib nplooj ntawv los ntawm Wikipedia li cas?
Kuv yuav export ib nplooj ntawv los ntawm Wikipedia li cas?

Video: Kuv yuav export ib nplooj ntawv los ntawm Wikipedia li cas?

Video: Kuv yuav export ib nplooj ntawv los ntawm Wikipedia li cas?
Video: Kuv Hmoov Phem Los Koj Siab Phem-LOKY(Official MV ) 2024, Kaum ib hlis
Anonim

Muaj tsawg kawg yog plaub txoj hauv kev xa tawm nplooj ntawv:

  1. Muab cov npe ntawm cov khoom hauv lub thawv tshwj xeeb: Export los yog siv //www.mediawiki.org/ wiki /Tshwj xeeb: Export /FULLPAGENAME.
  2. Muaj OAI-PMH-interface kom nqa mus tas li nplooj ntawv uas tau hloov kho txij li lub sijhawm tshwj xeeb.
  3. Siv Python Wikipedia Robot Framework.

Raws li txoj cai, kuv yuav rub tawm nplooj ntawv Wikipedia li PDF li cas?

Nrhiav ntu Print/export nyob rau hauv txoj cai vaj huam sib luag ntawm lub nplooj . Nyob rau hauv Print/export, koj yuav pom ntau yam txuas uas yog: Tsim ib phau ntawv: Wikipedia cia koj tsim e-bookin PDF hom ntawv uas muaj tag nrho cov xaiv nplooj ntawv thiab tuaj yeem rub tawm los nyeem offline.

Kuj Paub, Wikipedia GB loj npaum li cas? Raws li lub Tsib Hlis 2015, cov lus Askiv tam sim no Wikipedia tsab xov xwm / template / redirect text yog hais txog 51 GB uncompressed hauv XML hom. Cov qhov loj ntawm cov ntawv nyeem hauv lus Askiv Wikipedia , ntsuas hauv gigabytes (compressed), nce tsis tu ncua los ntawm 1 GB xyoo 2006 txog 9 GB nyob rau hauv 2013 rau 11.5 GB nyob rau hauv 2015 raws li qhia nyob rau hauv daim ntawv.

Ib yam li ntawd, tib neeg nug, Kuv yuav xa ib lub rooj los ntawm Wikipedia li cas?

Rau export rooj cov ntaub ntawv, mus rau daim ntawv teev npe rooj siv cov "Xaiv cov ntaub ntawv qhov chaw thiab rooj "Kev xaiv ntawm "Cov ntaub ntawv" zaub mov. Nyem rau ntawm a rooj nyob rau hauv daim ntawv (tab sis tsis nyob rau hauv cov ntawv hauv qab) thiab xaiv ib qho ntawm ob Export kev xaiv.

Wikipedia puas muaj API?

Cov tsis raug cai Wikipedia API . Vim Wikipedia yog tsim siv MediaWiki, uas nyob rau hauv lem supportsan API , Wikipedia ua ib yam nkaus. Qhov no muab developers code-theem nkag mus rau tag nrho Wikipedia siv. Cov API siv RESTful hu thiab txhawb ntau hom ntawv xws li XML, JSON, PHP, YAML thiab lwm yam.

Pom zoo: