Fetching urls with arabic values

A good way to debug URL fetching is to create a column containing the full URL rather than constructing it on the fly, so you can see exactly what's in there.

In this case there's a bug in the URL percent encoding which is generating plus signs (+) instead of percent encoding. Try this:

"https://transliterate.qcri.org/ar2en/"+value.escape('url').replace('+','%20')

Tom

1 Like