strohne / Facepager

Facepager was made for fetching public available data from YouTube, Twitter and other websites on the basis of APIs and webscraping.
https://github.com/strohne/Facepager/releases
506 stars 198 forks source link

No data shows up on twitter streaming #103

Closed dhsdshdhk closed 5 years ago

dhsdshdhk commented 5 years ago

Hello. I'm trying to fetch real time twitter data, but I think I might be doing something wrong, because nothing shows up for my search terms on Facepager, but making a search on twitter clearly shows tweets coming every few seconds.

Here's the status log I get:

2019-05-13 12:56:39.269601 Start fetching data for 1 node(s). 2019-05-13 12:56:39.278434 Fetching data for lula from https://stream.twitter.com/1.1/statuses/filter.json?track=lula 2019-05-13 12:56:40.015316 Exception: can only concatenate str (not "bytes") to str 2019-05-13 12:57:03.834972 Fetching cancelled by user, 0 new node(s) created. Summary of responses: .

strohne commented 5 years ago

This is not your fault, there are some new bugs in the latest versions of the streaming module.

I updated the prerelease to v4.0.1. Make sure you set resource to statuses/filter.

Does it work now?

dhsdshdhk commented 5 years ago

It does work now, thank you!