stva.sh: add filter
This commit is contained in:
		
					parent
					
						
							
								72fa4f22d0
							
						
					
				
			
			
				commit
				
					
						a75840ebb7
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								stva.sh
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								stva.sh
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -9,7 +9,7 @@ newfile=~/.stva-new
 | 
			
		|||
oldfile=~/.stva-cur
 | 
			
		||||
 | 
			
		||||
while [ "$new_data" ]; do
 | 
			
		||||
    new_data=$(curl -Ls https://e-schild.stva.gl.ch/?page=${i} | \
 | 
			
		||||
    new_data=$(curl -Ls "https://e-schild.stva.gl.ch/?page=${i}&category=1" | \
 | 
			
		||||
        grep '<td>GL' | sed 's/.*<td>GL //')
 | 
			
		||||
 | 
			
		||||
    if [ "$new_data" ]; then
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue