Jefferson-Henrique / Jefferson-Henrique/GetOldTweets-python

Double-quotes not escaped inside tweet body within CSV

Open
#43 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
1.3k
Forks
790
PR merge metrics
No merged PRs in 30d

Description

For example, retrieving this tweet:

```
mcantor;2015-09-30 15:25;0;2;""It may take 24 hours to process your unsubscribe request" that's okay, it only takes 24 milliseconds to click the Report Spam button.";;;;"649304177638817792";https://twitter.com/mcantor/status/649304177638817792
```

Not sure if this is an issue with `GetOldTweets-python` or the CSV library it uses (does it use a CSV library)? But I believe double-quotes are supposed to be escaped by being repeated. So it should be

```
mcantor;2015-09-30 15:25;0;2;"""It may take 24 hours to process your unsubscribe request"" that's okay, it only takes 24 milliseconds to click the Report Spam button.";;;;"649304177638817792";https://twitter.com/mcantor/status/649304177638817792
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.