Skip to content

Commit

Permalink
9/23/2023 1:53:45 PM [Auto Git]
Browse files Browse the repository at this point in the history
  • Loading branch information
RyannKim327 committed Sep 23, 2023
1 parent 31b4129 commit 4208afb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const ua = async () => {
return res[Math.floor(Math.random() * res.length)]
}

let getCitation = async (agent, id) => {
let getCitation = async (id, agent) => {
if(agent == undefined){
agent: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36"
}
Expand Down
2 changes: 1 addition & 1 deletion test.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ let b = async () => {
// let d = await a.url(c[0].query) // 'https://scholar.google.com/scholar?q=related:0YuT_-rgrZEJ:scholar.google.com/&scioq=stress+management&hl=en&oe=ASCII&as_sdt=0,5')
// console.log(d)
console.log(c.data[0].citeID)
let e = await a.getCitation("", c.data[0].citeID)
let e = await a.getCitation(c.data[0].citeID)
console.log(e)
}

Expand Down

0 comments on commit 4208afb

Please sign in to comment.