LOR.get_lor_page_urls¶
-
LOR.
get_lor_page_urls
(update=False, verbose=False)[source]¶ Get URLs to PRIDE/LOR codes with different prefixes.
- Parameters
update (bool) – whether to check on update and proceed to update the package data, defaults to
False
verbose (bool) – whether to print relevant information in console as the function runs, defaults to
False
- Returns
a list of URLs of web pages hosting LOR codes for each prefix
- Return type
list
Example:
>>> from pyrcs.line_data import LOR >>> lor = LOR() >>> lor_page_urls_ = lor.get_lor_page_urls() >>> print(lor_page_urls_[:2]) ['http://www.railwaycodes.org.uk/pride/pridecy.shtm', 'http://www.railwaycodes.org.uk/pride/prideea.shtm']