Update convert_page.sh
This commit is contained in:
		
							parent
							
								
									30a9143fe6
								
							
						
					
					
						commit
						20a422bc65
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		| 
						 | 
					@ -14,5 +14,4 @@ curl -s "https://berlin.ccc.de/api.php?action=query&prop=revisions&rvprop=conten
 | 
				
			||||||
    | jq -r '.query.pages |..| objects|.["*"]' \
 | 
					    | jq -r '.query.pages |..| objects|.["*"]' \
 | 
				
			||||||
    | sed '/null/d' \
 | 
					    | sed '/null/d' \
 | 
				
			||||||
    | pandoc -f mediawiki -t markdown \
 | 
					    | pandoc -f mediawiki -t markdown \
 | 
				
			||||||
	>> content/$2/$page.md
 | 
					    >> content/$2/$page.md
 | 
				
			||||||
 | 
					 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue