Merge pull request #763 from Jicksaw/master

Fix Twitter. Get images from Extended Tweets
This commit is contained in:
cyian-1756 2018-07-03 02:22:21 -04:00 committed by GitHub
commit 328bc6e092
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -126,14 +126,16 @@ public class TwitterRipper extends AlbumRipper {
.append("&exclude_replies=true") .append("&exclude_replies=true")
.append("&trim_user=true") .append("&trim_user=true")
.append("&include_rts=true") .append("&include_rts=true")
.append("&count=" + 200); .append("&count=" + 200)
.append("&tweet_mode=extended");
break; break;
case SEARCH: case SEARCH:
req.append("https://api.twitter.com/1.1/search/tweets.json") req.append("https://api.twitter.com/1.1/search/tweets.json")
.append("?q=" + this.searchText) .append("?q=" + this.searchText)
.append("&include_entities=true") .append("&include_entities=true")
.append("&result_type=recent") .append("&result_type=recent")
.append("&count=100"); .append("&count=100")
.append("&tweet_mode=extended");
break; break;
} }
if (maxID > 0) { if (maxID > 0) {