refractured urls and raw.py