tralafifi
This commit is contained in:
		
							parent
							
								
									0045a7bad8
								
							
						
					
					
						commit
						84a9dfe3bb
					
				| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
#!/bin/bash
 | 
					#!/bin/bash
 | 
				
			||||||
export BEARER_TOKEN=<Enter your Bearer Token here>
 | 
					export BEARER_TOKEN=$(cat token)
 | 
				
			||||||
curl -s -X GET -H "Authorization: Bearer $BEARER_TOKEN" \
 | 
					curl -s -X GET -H "Authorization: Bearer $BEARER_TOKEN" \
 | 
				
			||||||
	    "https://api.twitter.com/2/tweets/search/recent?query=%23rC3&tweet.fields=created_at&expansions=author_id,attachments.media_keys&media.fields=preview_image_url&user.fields=profile_image_url" > tweets-rc3.json
 | 
						    "https://api.twitter.com/2/tweets/search/recent?query=%23rC3cwtv&tweet.fields=created_at&expansions=author_id,attachments.media_keys&media.fields=preview_image_url&user.fields=profile_image_url" > tweets-rc3.json
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -10,7 +10,7 @@ import subprocess
 | 
				
			||||||
from lxml import etree
 | 
					from lxml import etree
 | 
				
			||||||
from urllib.request import urlopen
 | 
					from urllib.request import urlopen
 | 
				
			||||||
 | 
					
 | 
				
			||||||
scheduleUrl = 'http://data.c3voc.de/rC3/everything.schedule.xml'
 | 
					scheduleUrl = 'http://data.c3voc.de/rC3_21/everything.schedule.xml'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
scheduleTree=None
 | 
					scheduleTree=None
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue