nixed / wikipedia_infobox_parse

Wikipedia Infobox Parser

Scrapes en.wikipedia.org

Wikipedia, the free encyclopedia


Framework for a Wikipedia infobox scraper. Currently it hard-codes a single article name and a unique key for that article and stores the infobox data from that article.

Forked from ScraperWiki

Contributors nixed

Last run completed successfully .

Console output of last run

Injecting configuration and compiling... Injecting scraper and running...

Data

Downloaded 3 times by MikeRalphson nixed

To download data sign in with GitHub

Download table (as CSV) Download SQLite database (11 KB) Use the API

rows 2 / 2

service last2 production_date length manufacturer abbr feed time spec_label name last year archive-url type ref variants range unit_cost action location first publisher access-date title language origin edition spec_type caption wars authorlink weight velocity isbn sights first2 image accessdate date journal used_by rate design_date part_length number is_ranged designer df cartridge max_range url height crew passengers diameter cartridge_weight lk archivedate author width archiveurl caliber barrels
1994–present
1994–present
{{convert
* [[Colt's Manufacturing Company|Colt Defense]] * [[Lewis Machine and Tool Company|LMT]] * [[Bushmaster Firearms International|Bushmaster]] * [[U.S. Ordnance]] * [[Remington Arms Company]] * [[THOR Global Defense Group]] * [[SME Ordnance]] * [[FN Herstal]] * [[Sarsılmaz Arms]]<ref name="Colt"/>
on}}<ref name=Army_fact_file/>
30-round [[box magazine]] or other [[STANAG magazine]]s. Other magazines with different capacities also available.
Carbine, 5.56 mm, M4
Curtis
[[Carbine]], [[assault rifle]] <!-- Type selection -->
M4A1, [[Close Quarters Battle Receiver|CQBR]] (Mk. 18) <!-- General specifications -->
{{convert
$700<ref name="militarytimes1">{{cite web
[[Gas-operated]], [[rotating bolt]] ([[Direct impingement]])
Rob
Militarytimes.com
Colt Weapon Systems
Malay
[[United States]] <!-- WP:INFOBOXFLAG -->
Colt M4 Carbine with ACOG Scope
* [[Kosovo War|1998 Kosovo war]] * [[War in Afghanistan (2001–present)]] * [[Iraq War|War in Iraq (2003–2011)]] * [[2006 Lebanon war]] * [[Mexican Drug War]] * [[Gaza War (2008–09)|Gaza War]] * [[Colombian Armed Conflict]] * [[Operation Enduring Freedom]] * [[2008 South Ossetia war]] * [[Syrian civil war]] * [[Battle of Arsal]] * [[2013 Lahad Datu standoff]]<ref>{{cite web
{{convert
{{convert
[[Iron sights]] or various optics
[[File:M4A1 ACOG.jpg|300px]]
2011-12-17
2011-06-16
See ''[[#Users|Users]]'' below
700–950 round/min cyclic<ref name="coltm4">[http://www.colt.com/Catalog/Military/Products/ColtM4Carbine.aspx#lt-100845-technical-specifications Colt M4 Carbine Technical Specifications]. Colt.</ref>
{{convert
yes <!-- Service history -->
[[5.56×45mm NATO]]
<!-- Ranged weapon specifications -->
on
2011-06-16}}</ref>
SabahDaily
5.56 mm (.223 in)
1
1962–present
Weeks
1959–present<ref name=Hogg2000_p291/>
{{convert
* [[Colt's Manufacturing Company]] * [[S&T Motiv|Daewoo Precision Industries]] * [[FN Herstal]] * [[H&R Firearms]] * [[General Motors]] [[Hydramatic]] Division * [[Elisco]] * [[U.S. Ordnance]]
on}} full)
20-round detachable box magazine:<br />{{convert
4:32
M16
Rifle, 5.56 mm, M16
Hogg
2000
[[Assault rifle]] <!-- Type selection -->
harv }}, p. 291</ref>
See ''[[#Variants|Variants]]'' <!-- General specifications -->
{{convert
[[Gas-operated reloading|Gas-operated]], [[rotating bolt]] ([[direct impingement]])
Iola, Wisconsin
Ian V.
ArmyStudyGuide.com
2015-08-03
M16/A2 - 5.56 mm Semiautomatic Rifle
Arabic
[[United States]] <!-- WP:INFOBOXFLAG -->
7th
[[Selective fire]]/[[assault rifle]]
From top to bottom: M16A1, M16A2, [[M4 carbine|M4A1]], M16A4
[[Vietnam War]]<br />[[Laotian Civil War]]<br />[[Cambodian Civil War]]<br />[[The Troubles]]<br />[[Cambodian–Vietnamese War]]<br />[[1982 Lebanon War]]<br />[[Invasion of Grenada]]<br />[[South Lebanon conflict (1985–2000)]]<br />[[Bougainville Civil War]]<ref>https://www.youtube.com/watch?v=LDpvxQe_Jhg&list=LLItb2dLp-6NlYuBFl4AwvKg&index=127</ref><br />[[United States invasion of Panama]]<br />[[Oka Crisis]]<ref>https://www.youtube.com/watch?v=EgcfWan_1CI&index=4&list=LLItb2dLp-6NlYuBFl4AwvKg</ref><br />[[Gulf War]]<br />[[Somali Civil War]]<br />[[Yugoslav Wars]]<br />[[Operation Deny Flight]]<br />[[Operation Joint Endeavor]]<br />[[War in Afghanistan (2001–present)|War in Afghanistan]]<br />[[Iraq War]]<br />[[Syrian Civil War]]<br />[[Gaza–Israel conflict]]<br />[[2014 pro-Russian unrest in Ukraine]]<br>[[Iraq War (2014–present)]]<ref>{{cite AV media
Ian V. Hogg
{{convert
{{convert
978-0-87341-824-9
[[Iron sights]]
John S.
[[File:M16a1m16a2m4m16a45wi.jpg|300px]]
13 July 2014}}</ref>
[[National Defense]]
See ''[[#Users|Users]]''
12–15 rounds/min sustained<br />45–60 rounds/min semi-automatic<br />700–950 rounds/min cyclic
1956<ref name=Hogg2000_p291>{{Cite book
{{convert
~8 million<ref name=colt_customers/>
Yes <!-- Service history -->
[[Eugene Stoner]] and [[L. James Sullivan]]<ref>{{Cite journal
yes
[[5.56×45mm NATO]]
{{convert

Statistics

Average successful run time: half a minute

Total run time: 2 minutes

Total cpu time used: less than 10 seconds

Total disk space used: 40.5 KB

History

  • Manually ran revision 41922a19 and completed successfully .
    2 records added in the database
    8 pages scraped
  • Manually ran revision 41922a19 and completed successfully .
    2 records added, 1 record removed, 2 records updated in the database
    8 pages scraped
  • Manually ran revision cc9c3e85 and failed .
    1 record added, 2 records updated in the database
    4 pages scraped
  • Manually ran revision e7e7a98d and failed .
    nothing changed in the database
  • Manually ran revision eb233f8b and completed successfully .
    1 record added, 1 record updated in the database
    2 pages scraped
  • Forked from ScraperWiki

Scraper code

Python

wikipedia_infobox_parse / scraper.py