harshibar / common-intern

🤖 A selenium script to automatically apply to software engineering internships.
652 stars 193 forks source link

"SyntaxError: invalid syntax File "get_links.py", line 102 #7

Closed Isaaclipse closed 4 years ago

Isaaclipse commented 4 years ago

When I run get_links.py using $python get_links.py I get this syntax error...

File "get_links.py", line 102 link = f"https://www.glassdoor.com{link}" ^ SyntaxError: invalid syntax

What could be the issue?

harshibar commented 4 years ago

Hey there! Are you using Python 3? This could be a Python 2 backwards-compatibility issue with f-strings.

Isaaclipse commented 4 years ago

Yes, Python 2.7. I'll try Python 3 and see.

Respectfully, -Isaac Atif

On Thu, Jul 2, 2020 at 7:21 PM hyerramreddy notifications@github.com wrote:

Hi! Are you running Python 3? This could be a backwards-compatibility issue with Python 2.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/harshibar/common-intern/issues/7#issuecomment-653257744, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADUQL44RIWKSSOP4NH7MAE3RZUI5XANCNFSM4OPIXNBA .

Isaaclipse commented 4 years ago

That fixed it - thank you! I have another question however...

When filling in the dictionary in apply.py at line 22, how can I fill in lines 29 and 30 so they link to my correct resume pdf file? And is there a way to see the submitted data in these applications? I don't seem to be getting email confirmations on my applications...

-Isaac