changes subbreddit to wallpaper. Its bigger.
This commit is contained in:
		
							parent
							
								
									c32b016965
								
							
						
					
					
						commit
						46275d65d7
					
				@ -5,5 +5,8 @@
 | 
			
		||||
 | 
			
		||||
set -e
 | 
			
		||||
 | 
			
		||||
#wget -O - http://www.reddit.com/r/wallpapers.rss 2> /dev/null | grep -Eo "https://?[^&]+(jpg|png)" | grep -v "thumbs" | head -1
 | 
			
		||||
wget -O - "http://www.reddit.com/r/wallpapers/top/.json?t=day" 2> /dev/null | jq -r ".data.children[0].data.url"
 | 
			
		||||
# There are 2 subreddits "wallpapers" and "wallpaper" the 2nd one is bigger.
 | 
			
		||||
 | 
			
		||||
# wget -O - "http://www.reddit.com/r/wallpapers/top/.json?t=day" 2> /dev/null | jq -r ".data.children[0].data.url"
 | 
			
		||||
 | 
			
		||||
wget -O - "http://www.reddit.com/r/wallpaper/top/.json?t=day" 2> /dev/null | jq -r ".data.children[0].data.url"
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user