From 84a9dfe3bb128c7cb427ee705fb0a5380086f190 Mon Sep 17 00:00:00 2001 From: Jan Koppe Date: Tue, 21 Dec 2021 22:37:19 +0100 Subject: [PATCH] tralafifi --- dl_tweets.sh | 4 ++-- fahrplan.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dl_tweets.sh b/dl_tweets.sh index dcdd52f..c0289fe 100644 --- a/dl_tweets.sh +++ b/dl_tweets.sh @@ -1,4 +1,4 @@ #!/bin/bash -export BEARER_TOKEN= +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 diff --git a/fahrplan.py b/fahrplan.py index 127eca4..ac3accb 100644 --- a/fahrplan.py +++ b/fahrplan.py @@ -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