diff --git a/pyperi/pyperi.py b/pyperi/pyperi.py
index b919ee8..672412b 100644
--- a/pyperi/pyperi.py
+++ b/pyperi/pyperi.py
@@ -1,10 +1,12 @@
 import requests
 import urllib
 from collections import OrderedDict
+from re import match
 
 
 class PyPeri(object):
     PERISCOPE_API_BASE_URL = 'https://api.periscope.tv/api/v2/'
+    PERISCOPE_WEB_BASE_URL = 'https://www.periscope.tv/'
 
     def request_api(self, endpoint, **params):
         """
@@ -45,3 +47,28 @@ class PyPeri(object):
         endpoint = 'getUserPublic'
         result = self.request_api(endpoint, user_id=user_id)
         return result['user']
+
+    def parse_periscope_url(self, url):
+        """
+        Get any key information available from the supplied URL.
+
+        Will attempt to retrieve one, or combination of:
+
+        * broadcast_id
+        * user_id
+        * username
+        """
+        out = {
+            'broadcast_id': None,
+            'user_id': None,
+            'username': None,
+        }
+
+        w_url_pattern = '{base_url}w/([A-Za-z0-9]+)'.format(
+            base_url=PyPeri.PERISCOPE_WEB_BASE_URL
+        )
+        w_result = match(w_url_pattern, url)
+        if w_result:
+            out['broadcast_id'] = w_result.group(1)
+
+        return out

Retrieve Broadcast ID from "https://www.periscope.tv/w/<broadcast id>" URLs
diff --git a/tests/test_pyperi.py b/tests/test_pyperi.py
index d9f4db1..17e1d75 100644
--- a/tests/test_pyperi.py
+++ b/tests/test_pyperi.py
@@ -77,3 +77,16 @@ def test_get_user_info():
     result = pp.get_user_info(user_id)
     assert result['id'] == user_id
     assert result['username'] == 'george_clinton'
+
+
+def test_parse_periscope_url():
+    pp = PyPeri()
+
+    broadcast_id = '1zqKVWybqeDGB'
+    w_url = 'https://www.periscope.tv/w/{broadcast_id}'.format(
+        broadcast_id=broadcast_id
+    )
+    w_result = pp.parse_periscope_url(w_url)
+    assert w_result['broadcast_id'] == broadcast_id
+    assert w_result['user_id'] is None
+    assert w_result['username'] is None

pip install -e .[dev]
parse_log_pytest
requirements.txt
pytest httpretty tox
apt-get update apt-get install -y gcc
3.5
requirements.txt
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
attrs==22.2.0
certifi==2021.5.30
distlib==0.3.9
filelock==3.4.1
httpretty==1.1.4
importlib-metadata==4.8.3
importlib-resources==5.4.0
iniconfig==1.1.1
packaging==21.3
platformdirs==2.4.0
pluggy==1.0.0
py==1.11.0
pyparsing==3.1.4
-e git+https://github.com/takeontom/PyPeri.git@1b63e42cbc133aa1d8b6d6d1442c8112945f15b8#egg=pyperi
pytest==7.0.1
requests==2.12.3
six==1.17.0
toml==0.10.2
tomli==1.2.3
tox==3.28.0
typing_extensions==4.1.1
virtualenv==20.17.1
zipp==3.6.0

name: PyPeri
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - ca-certificates=2025.2.25=h06a4308_0
  - certifi=2021.5.30=py36h06a4308_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.3=he6710b0_2
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - ncurses=6.4=h6a678d5_0
  - openssl=1.1.1w=h7f8727e_0
  - pip=21.2.2=py36h06a4308_0
  - python=3.6.13=h12debd9_1
  - readline=8.2=h5eee18b_0
  - setuptools=58.0.4=py36h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - wheel=0.37.1=pyhd3eb1b0_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - attrs==22.2.0
      - distlib==0.3.9
      - filelock==3.4.1
      - httpretty==1.1.4
      - importlib-metadata==4.8.3
      - importlib-resources==5.4.0
      - iniconfig==1.1.1
      - packaging==21.3
      - platformdirs==2.4.0
      - pluggy==1.0.0
      - py==1.11.0
      - pyparsing==3.1.4
      - pytest==7.0.1
      - requests==2.12.3
      - six==1.17.0
      - toml==0.10.2
      - tomli==1.2.3
      - tox==3.28.0
      - typing-extensions==4.1.1
      - virtualenv==20.17.1
      - zipp==3.6.0
prefix: /opt/conda/envs/PyPeri

tests/test_pyperi.py::test_parse_periscope_url
tests/test_pyperi.py::test_request_api tests/test_pyperi.py::test_create_api_request_url tests/test_pyperi.py::test_get_broadcast_info tests/test_pyperi.py::test_get_user_info
pyperi/pyperi.py
pyperi/pyperi.py