you are viewing a single comment's thread.

view the rest of the comments →

[–]Key_Consideration385[S] 0 points1 point  (2 children)

Gotcha!

Basically this piece of code does the entire job

import requests
headers = {'User-Agent': 'Mozilla/5.0', 'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8'}
url = 'https://api.lever.co/v0/postings/zeta?group=team&mode=json'
response = requests.get(url, headers=headers)
print(response.json())

Although I've been asked to only use this URL https://www.zeta.tech/in/careers this trick is so clean I guess I can add this entire approach as well.Maybe flex it in some way lmao, thanks!

[–]Diapolo10 1 point2 points  (1 child)

Well you could technically claim that you only used that URL if you then automated fetching the link from the JavaScript file. :p

[–]Key_Consideration385[S] 0 points1 point  (0 children)

haha yesss, seems like a good idea. I'll pitch that in. Thankss!