How to use regex to extract a number from a URL using pandas

22
December 10, 2019, at 10:10 PM

I'm at a stage to extract the page number from a URL which I got from web scraping. This page number I will use to make a loop. URL is like this :

[<li class="pager-last last"><a href="/shop/finance-manager/mprequest?page=18&amp;shop%2Ffinance-manager%2Fmprequest=" title="Go to last page">last ยป</a></li>]

Can you please suggest what will I do to extract this using regex function?

READ ALSO
How can I make this query in Django?

How can I make this query in Django?

I have theese fields(test_type, status, begin_time, and_time)The status field has three state(0, 1 or 2)

44
AttributeError: __exit__ while after conversion from Python2 to Python3

AttributeError: __exit__ while after conversion from Python2 to Python3

I am using python's warning module with "with" statement :

47
Initial data creation fails with data migration

Initial data creation fails with data migration

It's my intent to create some initial model instances through a data migration with some JSON dataUpon calling json

38