I am working with a huge list of URL\'s. Just a quick question I have trying to slice a part of the URL out, see below:
http://www.domainname.com/page?CONTEN
Another option would be to use the split function, with & as a parameter. That way, you'd extract both the base url and both parameters.
url.split("&")
returns a list with
['http://www.domainname.com/page?CONTENT_ITEM_ID=1234', 'param2', 'param3']