tralafifi

This commit is contained in:
Jan Koppe 2021-12-21 22:37:19 +01:00
parent 0045a7bad8
commit 84a9dfe3bb
Signed by: thunfisch
GPG Key ID: BE935B0735A2129B
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash
export BEARER_TOKEN=<Enter your Bearer Token here>
export BEARER_TOKEN=$(cat 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

View File

@ -10,7 +10,7 @@ import subprocess
from lxml import etree
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