I want to create a system to filtering a URL in python

hungryforwork.co.nz/company/job/

eg

hungryforwork.co.nz/telecom/5/

I want to put out the telecom and lookup this company and then 5 for a reference to a listed job

Putting a folder for each company would be a mission.

An error 404 might work

Does someone have an answer

Post some code using the (CODE) button, and ask for help making it work better. Using better or more careful English.

Let see what you have done, in terms of code, and then the errors you got if any. Then we will pick it from there, i can't really decode all you've said.