Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.4.0"
".": "0.4.1"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 110
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/xquik%2Fx-twitter-scraper-4a12c672870ee7282ad1d00f262e20fb360a8296b64a774628d1d0252e12694a.yml
openapi_spec_hash: 2e298ff704f550c80c2d07d9adadba6d
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/xquik%2Fx-twitter-scraper-2adc33156b4b42a4be18cc20c0205b38f0432d7958da99c65ee9b3f6a555ea0e.yml
openapi_spec_hash: be760f5620a268521d6793f65576a61f
config_hash: 320a9cb2f1293d1a7b73c63ab5865af5
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# Changelog

## 0.4.1 (2026-04-25)

Full Changelog: [v0.4.0...v0.4.1](https://github.com/Xquik-dev/x-twitter-scraper-go/compare/v0.4.0...v0.4.1)

### Bug Fixes

* escape ampersand in OpenAPI summaries for C# XML docs ([66d1655](https://github.com/Xquik-dev/x-twitter-scraper-go/commit/66d165598acb070e5fb94b2df46204618ebc7d85))


### Chores

* **internal:** more robust bootstrap script ([bc2d3bb](https://github.com/Xquik-dev/x-twitter-scraper-go/commit/bc2d3bb3585703357f63126e9a3ead9496699f3c))


### Documentation

* add Contributor Covenant 2.1 Code of Conduct ([#2192](https://github.com/Xquik-dev/x-twitter-scraper-go/issues/2192)) ([80c6f70](https://github.com/Xquik-dev/x-twitter-scraper-go/commit/80c6f70b5cf1ace74f29e9e867671d9856bed365))

## 0.4.0 (2026-04-22)

Full Changelog: [v0.3.0...v0.4.0](https://github.com/Xquik-dev/x-twitter-scraper-go/compare/v0.3.0...v0.4.0)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Or to pin the version:
<!-- x-release-please-start-version -->

```sh
go get -u 'github.com/Xquik-dev/x-twitter-scraper-go@v0.4.0'
go get -u 'github.com/Xquik-dev/x-twitter-scraper-go@v0.4.1'
```

<!-- x-release-please-end -->
Expand Down
2 changes: 1 addition & 1 deletion internal/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

package internal

const PackageVersion = "0.4.0" // x-release-please-version
const PackageVersion = "0.4.1" // x-release-please-version
2 changes: 1 addition & 1 deletion scripts/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e

cd "$(dirname "$0")/.."

if [ -f "Brewfile" ] && [ "$(uname -s)" = "Darwin" ] && [ "$SKIP_BREW" != "1" ] && [ -t 0 ]; then
if [ -f "Brewfile" ] && [ "$(uname -s)" = "Darwin" ] && [ "${SKIP_BREW:-}" != "1" ] && [ -t 0 ]; then
brew bundle check >/dev/null 2>&1 || {
echo -n "==> Install Homebrew dependencies? (y/N): "
read -r response
Expand Down
2 changes: 1 addition & 1 deletion trend.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func NewTrendService(opts ...option.RequestOption) (r TrendService) {
return
}

// Get trending hashtags & topics by region (alias)
// Get trending hashtags and topics by region (alias)
func (r *TrendService) List(ctx context.Context, query TrendListParams, opts ...option.RequestOption) (res *TrendListResponse, err error) {
opts = slices.Concat(r.options, opts)
path := "trends"
Expand Down
2 changes: 1 addition & 1 deletion x.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func (r *XService) GetNotifications(ctx context.Context, query XGetNotifications
return res, err
}

// Get trending hashtags & topics from X by region
// Get trending hashtags and topics from X by region
func (r *XService) GetTrends(ctx context.Context, query XGetTrendsParams, opts ...option.RequestOption) (res *XGetTrendsResponse, err error) {
opts = slices.Concat(r.options, opts)
path := "x/trends"
Expand Down
2 changes: 1 addition & 1 deletion xcommunity.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ func (r *XCommunityService) Delete(ctx context.Context, id string, body XCommuni
return res, err
}

// Get community name, description & member count
// Get community name, description and member count
func (r *XCommunityService) GetInfo(ctx context.Context, id string, opts ...option.RequestOption) (res *XCommunityGetInfoResponse, err error) {
opts = slices.Concat(r.options, opts)
if id == "" {
Expand Down
2 changes: 1 addition & 1 deletion xmedia.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func NewXMediaService(opts ...option.RequestOption) (r XMediaService) {
return
}

// Download images & videos from tweets
// Download images and videos from tweets
func (r *XMediaService) Download(ctx context.Context, body XMediaDownloadParams, opts ...option.RequestOption) (res *XMediaDownloadResponse, err error) {
opts = slices.Concat(r.options, opts)
path := "x/media/download"
Expand Down
4 changes: 2 additions & 2 deletions xtweet.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func (r *XTweetService) New(ctx context.Context, body XTweetNewParams, opts ...o
return res, err
}

// Get tweet with full text, author, metrics & media
// Get tweet with full text, author, metrics and media
func (r *XTweetService) Get(ctx context.Context, id string, opts ...option.RequestOption) (res *XTweetGetResponse, err error) {
opts = slices.Concat(r.options, opts)
if id == "" {
Expand Down Expand Up @@ -144,7 +144,7 @@ func (r *XTweetService) GetThread(ctx context.Context, id string, query XTweetGe
return res, err
}

// Search tweets with X query operators & pagination
// Search tweets with X query operators and pagination
func (r *XTweetService) Search(ctx context.Context, query XTweetSearchParams, opts ...option.RequestOption) (res *shared.PaginatedTweets, err error) {
opts = slices.Concat(r.options, opts)
path := "x/tweets/search"
Expand Down
2 changes: 1 addition & 1 deletion xuser.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func NewXUserService(opts ...option.RequestOption) (r XUserService) {
return
}

// Get user profile with follower counts & verification
// Get user profile with follower counts and verification
func (r *XUserService) Get(ctx context.Context, id string, opts ...option.RequestOption) (res *shared.UserProfile, err error) {
opts = slices.Concat(r.options, opts)
if id == "" {
Expand Down
Loading