Skip to content

Commit

Permalink
Update timeline.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Owen3H committed Sep 19, 2023
1 parent 8bff159 commit 25b611d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/classes/timeline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,9 @@ const domain = 'https://twitter.com'

export default class Timeline {
static readonly url = 'https://syndication.twitter.com/srv/timeline-profile/screen-name/'
private static puppeteer = {
use: false,
config: null
}
private static puppeteer:
{ use: boolean, config: PuppeteerConfig } =
{ use: false, config: null }

/**
* Use puppeteer to get the timeline, bypassing potential Cloudflare issues.
Expand Down

0 comments on commit 25b611d

Please sign in to comment.