Skip to content

Disentangling streaming from scoring #22

@ipavlopoulos

Description

@ipavlopoulos

self.sentiments.append(analyse_per_language(txt, self.lan)["compound"])

This could be commented to avoid the ugly "'Connection broken: IncompleteRead(0 bytes read)', IncompleteRead(0 bytes read)" that breaks the streaming. We could run this line with a cron job, every half a minute, by simply updating the CSV. Or do that in another thread maybe? Check this for more details about this issue: https://stackoverflow.com/questions/53326879/twitter-streaming-api-urllib3-exceptions-protocolerror-connection-broken-i

Metadata

Metadata

Labels

efficiencyefficiency suggestions

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions