derat / nitter-rss-proxy

Moved to codeberg.org/derat/nitter-rss-proxy
https://codeberg.org/derat/nitter-rss-proxy
BSD 3-Clause "New" or "Revised" License
11 stars 3 forks source link

only first 20 tweets #9

Closed sajiljosephs closed 1 year ago

sajiljosephs commented 1 year ago

I could get only first 20 tweets. Is there an option to set a date range to get the tweets?

derat commented 1 year ago

Like I said in #6, this is just a proxy, so it will return however many items it gets from the Nitter instance. Please read the Nitter documentation and issues. Here are some issues I saw that seem relevant:

If there are headers or query parameters that the proxy needs to pass through via the request to Nitter in order to get more items (or customize the request in any other way), I'll be happy to add support for them if you tell me the specifics.

sajiljosephs commented 1 year ago

Eg: https://nitter.net/Reuters/rss > Gives 1st 20 tweets Min-id for this URL is : HBaGgNPh8K+Xui0AAA== We can get next 20 tweets with the URL https://nitter.net/Reuters/rss?max_position=HBaGgNPh8K+Xui0AAA==

Similarly nitter-rss-proxy doesnt change the results by adding min-id to the nitter-rss-proxy url http://nitter-rss-proxy/Reuters?max_position=HBaGgNPh8K+Xui0AAA== >> Gives 1st 20 tweets only http://nitter-rss-proxy/Reuters/rss?max_position=HBaGgNPh8K+Xui0AAA== >> Gives the 1st 20 tweets for the user rss

Can we add this to nitter-rss-proxy. Eg: When we access http://nitter-rss-proxy/Reuters/rss?max_position=HBaGgNPh8K+Xui0AAA== or http://nitter-rss-proxy/Reuters?max_position=HBaGgNPh8K+Xui0AAA== it should get the results from https://nitter.net/Reuters/rss?max_position=HBaGgNPh8K+Xui0AAA==

derat commented 1 year ago

Thanks for the details. The proxy now copies Min-Id headers to responses and includes max_position query parameters in requests.

sajiljosephs commented 1 year ago

rss from nitter:

The Exp 68 crew started the new week investigating astrobiology and keeping up with cargo operations and equipment maintenance. https://go.nasa.gov/3n9KoOA @Space_Station The Exp 68 crew started the new week investigating astrobiology and keeping up with cargo operations and equipment maintenance. go.nasa.gov/3n9KoOA

]]>
Mon, 20 Mar 2023 22:02:01 GMT https://twitter.com/Space_Station/status/1637937566308528128#m https://twitter.com/Space_Station/status/1637937566308528128#m

rss from nitter-rss-proxy

The Exp 68 crew started the new week investigating astrobiology and keeping up … https://twitter.com/Space_Station/status/1637937566308528128 <p>The Exp 68 crew started the new week investigating astrobiology and keeping up with cargo operations and equipment maintenance. <a href="https://go.nasa.gov/3n9KoOA">go.nasa.gov/3n9KoOA</a></p><br><img src="https://twitter.com/pic/card_img%2F1637935153325527047%2FzOO6Pgo4%3Fformat%3Djpg%26name%3D800x419" style="max-width:250px;" /> The Exp 68 crew started the new week investigating astrobiology and keeping up with cargo operations and equipment maintenance. go.nasa.gov/3n9KoOA


]]>
@Space_Station https://twitter.com/Space_Station/status/1637937566308528128 Mon, 20 Mar 2023 22:02:01 +0000

There are many extra characters while rendering the results. I tried with all the 3, "atom", "json", "rss" and its not as same as nitter. Can we have the same results as nitter rss gives ?

derat commented 1 year ago

Can we have the same results as nitter rss gives ?

Please request this in a new issue.