gjacobs314 / HackQ

A MacOS application that intercepts and solves HQ Trivia questions in less then 3 seconds!
MIT License
37 stars 16 forks source link

Entering Bearer token, user id, Google API key, and Google CSE ID #25

Closed jakelibs22 closed 6 years ago

jakelibs22 commented 6 years ago

I appreciate you sharing this script. I am fairly new to coding and am having trouble figuring out where to plug in all the info. Would it be in lines 31, 50, 57 at the end of the link, and 83 of ViewController.swift and lines 13, 14, 57, and 79 in the parenthesis of SiteEncoding.swift? I would greatly appreciate it if you can let me know if I missed anywhere or added any spots to enter the info that shouldn't be. Thanks in advance!

gjacobs314 commented 6 years ago

Everything is right except you don't need 57 or 79. All others you are correct.

jakelibs22 commented 6 years ago

Thanks for the quick reply. Do I keep the parenthesis or quotation marks around them or take them out?

rusd1123 commented 6 years ago

What do you mean by "end of the link" (lines 31, 50 & 57?)

Also, just to confirm, in the ViewController.swift, we do not need to adjust lines 19 and 20 (Bearer Token and User ID?)

@jakelibs22 @gjacobs314 Thanks for your help!

gjacobs314 commented 6 years ago

By end of link I mean for the user ID you put it at the end of the link on the line I say... the end of the link would be XXXX but you want those XXXX to be ur user ID.

rusd1123 commented 6 years ago

Gotcha, so lines 31, 50 and 57 of which file?

gjacobs314 commented 6 years ago

Please read the readme before asking me things...

Fill in info in lines 31, 50, 57 at the end of the link, and 83 of ViewController.swift and lines 13, and 14 in SiteEncoding.swift

On Sun, Apr 22, 2018 at 11:27 PM, rusd1123 notifications@github.com wrote:

Gotcha, so lines 31, 50 and 57 of which file?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/gjacobs314/HQTrivia/issues/25#issuecomment-383444354, or mute the thread https://github.com/notifications/unsubscribe-auth/AhAkIq0Yx97BD2-NrcCRBJd-Mr0xf-Rlks5trUo_gaJpZM4TH2Hy .

JeffreyBytes commented 6 years ago

38 could potentially solve this confusion for average users with no coding background.

Sent with GitHawk

rusd1123 commented 6 years ago

Thank you, @spaz926! Your commits are a much more efficient solution to entering the needed information.