Skip to content

Commit

Permalink
add missing query value to the hashtag metadata method
Browse files Browse the repository at this point in the history
  • Loading branch information
drawrowfly committed Dec 16, 2020
1 parent 0465ffe commit 9fce936
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/TikTok.ts
Original file line number Diff line number Diff line change
Expand Up @@ -819,6 +819,9 @@ export class TikTokScraper extends EventEmitter {
const id = encodeURIComponent(this.input);
const query = {
uri: `${this.mainHost}node/share/tag/${id}?uniqueId=${id}`,
qs: {
user_agent: this.headers['User-Agent'],
},
method: 'GET',
json: true,
};
Expand Down

0 comments on commit 9fce936

Please sign in to comment.