Commit graph

36 commits

Author SHA1 Message Date
Valentine
cc633cb1ea fix tests 2024-02-20 23:27:22 +03:00
Valentine
d45ac95957 Merge pull request #1 from imperatrona/open-account
Reusing open account
2024-01-28 23:39:48 +03:00
Valentine
8dda773032 update package name 2024-01-28 23:06:45 +03:00
Thalles
c8ad9a0410 feat: return open account 2023-10-08 21:58:48 -03:00
Alexander Sheiko
41b7e80ee8 Improve skip auth test 2023-07-07 13:19:37 +03:00
Alexander Sheiko
5f380af184 Use global test scraper with auth 2023-07-03 15:06:56 +03:00
Alexander Sheiko
07ad3789ef Authentication is required!
(quick dirty fix)
Close #115
2023-07-02 01:41:48 +03:00
Veetaha
9c3764f484 Parse GIFs for in the GetTweet API
I am writing an app that needs to get info about all media in a tweet and forward it to a Telegram chat.

Today animated GIFs are ignored in the response of TweetDetail, although the are there (exept for the caveat mentioned below). So without this change the GIFs are not present in the twitterscraper.Tweet struct.

Following the analogy with the split between Photos and Videos I added GIFs to the Tweet type.

There is one caveat that I found during testing that I can't really explain. But GIFs don't occur in the response unless the bearerToken2 is set. I don't know what this token means, maybe it somehow identifies a destop-browser variant of twitter frontend, but with this token the GIFs are present in the response.

Please note that I never wrote Go code before in my life. I am using this library via the FFI to link it to my Rust codebase.
2023-06-18 19:35:34 +02:00
Alexander Sheiko
d9d8ee67b6 Support for threaded tweets
Close #84
2023-06-05 13:49:56 +03:00
Regynald Augustin
45d30f7304 Add test 2023-05-18 15:51:03 -04:00
windowsdeveloperwannabe
d7b7a8754a Merge branch 'master' into user-name 2023-05-10 06:05:18 -07:00
windowsdeveloperwannabe
9010999a81 remove debug 2023-05-10 05:19:27 -07:00
windowsdeveloperwannabe
21d595ff42 add user's full name 2023-05-10 05:05:07 -07:00
windowsdeveloperwannabe
0adefb32f3 add user mentions 2023-05-10 05:02:21 -07:00
windowsdeveloperwannabe
6a929cde9c save photo ids 2023-05-10 03:18:34 -07:00
Alexander Sheiko
bfb4020597 Deprecate default scraper 2022-05-04 11:55:12 +03:00
Alexander Sheiko
4c9f06806a Separate test package 2021-12-07 10:18:01 +02:00
Alexander Sheiko
c5e4f73352 Fix test 2021-09-13 17:04:23 +03:00
Alexander Sheiko
d8dd7d54ea Fix test 2021-08-09 14:02:35 +03:00
Nomadic
0618540f5d Fix test 2021-08-04 11:00:12 +03:00
Alexander Sheiko
34aa1c1819 Fix test 2021-07-30 14:46:38 +03:00
Alexander Sheiko
1080741bc6 Fix test 2021-07-23 17:04:23 +03:00
Alexander Sheiko
8d901551cc Fix test 2021-07-16 12:39:11 +03:00
Alexander Sheiko
be87392493 Fix test 2021-07-16 12:29:14 +03:00
Alexander Sheiko
be2c3ec5b1 Add InReplyToStatus, QuotedStatus and RetweetedStatus parsing in Tweet
BREAKING CHANGE: Retweet property renamed to RetweetedStatus
Closed #41
2021-07-16 12:21:41 +03:00
Alexander Sheiko
c370a9078f Parse a retweet like a full tweet 2021-07-16 11:37:43 +03:00
Alexander Sheiko
f3597d0db6 Fix error msg 2021-04-22 20:35:33 +03:00
Alexander Sheiko
0533b6e909 Add retweet info
Close #29
2021-03-28 12:25:55 +03:00
Alexander Sheiko
a8089a552e Add GetTweet 2021-03-09 10:40:22 +02:00
Alexander Sheiko
edad8f6393 Total refactoring
Used guest frontend API
BREAKING CHANGE: remove tweet.HTML property
Loading more information
Minor fixes and changes
2020-12-11 20:58:49 +02:00
Alexander Sheiko
69c8b035ea Quick dirty fix GetTweets 2020-09-19 00:57:03 +03:00
Alexander Sheiko
f99c2aaa1f Add user info in tweet 2020-06-15 16:38:51 +03:00
Alexander Sheiko
49baceb5b4 Getting tweets by the maximum number, not by pages as before
BREAKING CHANGE!
2020-06-15 16:16:08 +03:00
mind1949
5048018d48 use Context to send cancelation signals to groutines 2020-06-12 21:31:08 +08:00
Alexander Sheiko
96cc763b69 Fix test 2020-03-06 10:50:02 +02:00
Nomadic
d22351b4aa Add tweets test 2019-09-21 12:18:34 +03:00