2 from __future__
import unicode_literals
6 import xml
.etree
.ElementTree
as etree
8 from .common
import InfoExtractor
9 from ..compat
import compat_urlparse
21 'username_field': 'username',
22 'password_field': 'password',
26 'username_field': 'UserName',
27 'password_field': 'UserPassword',
30 'name': 'Comcast XFINITY',
31 'username_field': 'user',
32 'password_field': 'passwd',
35 'name': 'Time Warner Cable | Spectrum',
36 'username_field': 'Ecom_User_ID',
37 'password_field': 'Ecom_Password',
40 'name': '3 Rivers Communications'
43 'name': 'Access Montana'
45 'acecommunications': {
49 'name': 'Acme Communications'
52 'name': 'Adams Cable Service'
55 'name': 'Albany Mutual Telephone'
58 'name': 'Algona Municipal Utilities'
61 'name': 'All West Communications'
64 'name': 'Allen\'s Communications'
67 'name': 'Alliance Communications'
70 'name': 'ALLO Communications'
73 'name': 'Alpine Communications'
76 'name': 'American Broadband'
79 'name': 'American Broadband Missouri'
82 'name': 'American Community Networks'
85 'name': 'American Warrior Networks'
88 'name': 'Amherst Telephone/Tomorrow Valley'
94 'name': 'Arkwest Communications'
97 'name': 'Arthur Mutual Telephone Company'
103 'name': 'Ashland Home Net'
106 'name': 'Astound (now Wave)'
109 'name': 'ATC Broadband'
112 'name': 'ATC Communications'
115 'name': 'Ayersville Communications'
118 'name': 'Baldwin Lightstream'
124 'name': 'Bardstown Cable TV'
127 'name': 'Bay Country Communications'
130 'name': 'Beaver Creek Cooperative Telephone'
133 'name': 'Beaver Valley Cable'
136 'name': 'Bee Line Cable'
139 'name': 'Beehive Broadband'
145 'name': 'Bellevue Municipal Cable'
148 'name': 'Ben Lomand Connect / BLTV'
154 'name': 'Big Sandy Broadband'
157 'name': 'Bledsoe Telephone Cooperative'
160 'name': 'Blue Valley Tele-Communications'
163 'name': 'Brandenburg Telephone Co.'
166 'name': 'Bristol Tennessee Essential Services'
169 'name': 'Broadstripe'
172 'name': 'BTC Communications'
175 'name': 'BTC Vision - Nahunta'
178 'name': 'Bulloch Telephone Cooperative'
181 'name': 'Butler-Bremer Communications'
184 'name': 'C Spire SNAP'
187 'name': 'Cable Services Inc.'
190 'name': 'CableAmerica'
193 'name': 'CableSouth Media 3'
196 'name': 'Cam-Tel Company'
199 'name': 'Cameron Communications'
202 'name': 'Canby Telcom'
208 'name': 'Carnegie Cable'
217 'name': 'Catalina Broadband Solutions'
220 'name': 'CC Communications'
223 'name': 'CDE Lightband'
226 'name': 'Cedar Falls Utilities'
229 'name': 'Celect-Bloomer Telephone Area'
232 'name': 'Celect-Bruce Telephone Area'
235 'name': 'Celect-Citizens Connected Area'
238 'name': 'Celect-Elmwood/Spring Valley Area'
241 'name': 'Celect-Mosaic Telecom'
244 'name': 'Celect-West WI Telephone Area'
247 'name': 'Cellcom/Nsight Telservices'
253 'name': 'Central Scott / CSTV'
256 'name': 'Chaparral CableVision'
259 'name': 'Chariton Valley Communication Corporation, Inc.'
262 'name': 'Chatmoss Cablevision'
265 'name': 'Cherokee Communications'
268 'name': 'Chesapeake Bay Communications'
271 'name': 'Cim-Tel Cable, LLC.'
274 'name': 'Citizens Cablevision - Floyd, VA'
277 'name': 'Citizens Cablevision, Inc.'
280 'name': 'Citizens Fiber'
283 'name': 'Citizens Mutual'
286 'name': 'Citizens Telephone Corporation'
289 'name': 'City Of Monroe'
298 'name': 'Clarence Telephone and Cedar Communications'
301 'name': 'Clear Choice Communications'
304 'name': 'Click! Cable TV'
310 'name': 'CML Telephone Cooperative Association'
316 'name': 'Co-Mo Connect'
319 'name': 'Coast Communications'
322 'name': 'Coaxial Cable TV'
325 'name': 'Cobalt TV (Mid-State Community TV)'
328 'name': 'Columbia Power & Water Systems'
331 'name': 'Columbus Telephone'
334 'name': 'Communications 1 Cablevision, Inc.'
337 'name': 'Community Cable & Broadband'
340 'name': 'Community Communications Company'
346 'name': 'Complete Communication Services'
352 'name': 'ComSouth Telesys'
354 'consolidatedcable': {
355 'name': 'Consolidated'
358 'name': 'Conway Corporation'
361 'name': 'Coon Valley Telecommunications Inc'
364 'name': 'Cooperative Telephone Company'
370 'name': 'Craw-Kan Telephone'
373 'name': 'Crestview Cable Communications'
379 'name': 'Crosslake Communications'
382 'name': 'CTC - Brainerd MN'
385 'name': 'CTV-Beam - East Alabama'
388 'name': 'Cunningham Telephone & Cable'
391 'name': 'D & P Communications'
394 'name': 'Dakota Central Telecommunications'
397 'name': 'Delcambre Telephone LLC'
400 'name': 'Delta Telephone Company'
406 'name': 'Direct Communications'
409 'name': 'Doylestown Cable TV'
418 'name': 'DTC Cable (Delhi)'
421 'name': 'Dumont Telephone Company'
424 'name': 'Dunkerton Telephone Cooperative'
427 'name': 'Duo County Telecom'
430 'name': 'Eagle Communications'
433 'name': 'East Arkansas Cable TV'
436 'name': 'EATEL Video, LLC'
442 'name': 'Emery Telcom Video LLC'
445 'name': 'Empire Access'
448 'name': 'Endeavor Communications'
451 'name': 'Enhanced Telecommunications Corporation'
457 'name': 'EPB Smartnet'
460 'name': 'EPlus Broadband'
466 'name': 'Etex Communications'
469 'name': 'F&B Communications'
472 'name': 'Falcon Broadband'
475 'name': 'FamilyView CableVision'
478 'name': 'Farmers Mutual Telephone Company'
481 'name': 'Fayetteville Public Utilities'
487 'name': 'Fidelity Communications'
490 'name': 'FJ Communications'
493 'name': 'Flint River Communications'
496 'name': 'FMT - Jesup'
499 'name': 'Foothills Communications'
502 'name': 'Forsyth CableNet'
505 'name': 'Frankfort Plant Board'
508 'name': 'Franklin Telephone Company'
514 'name': 'Full Channel, Inc.'
517 'name': 'Gardonville Cooperative Telephone Association'
520 'name': 'GBT Communications, Inc.'
523 'name': 'Genuine Telecom'
526 'name': 'Giant Communications'
529 'name': 'Glasgow EPB'
532 'name': 'Glenwood Telecommunications'
535 'name': 'GLW Broadband Inc.'
538 'name': 'Golden West Cablevision'
541 'name': 'Grantsburg Telcom'
544 'name': 'Great Plains Communications'
547 'name': 'Gridley Cable Inc'
550 'name': 'H&B Cable Services'
553 'name': 'Haefele TV Inc.'
556 'name': 'Halstad Telephone Company'
559 'name': 'Harlan Municipal Utilities'
562 'name': 'Hart Communications'
565 'name': 'Hartelco TV'
568 'name': 'Heart of Iowa Communications Cooperative'
571 'name': 'Hickory Telephone Company'
574 'name': 'Highland Communication Services'
577 'name': 'Highland Media'
580 'name': 'Hilliary Communications'
583 'name': 'Hinton CATV Co.'
586 'name': 'HomeTel Entertainment, Inc.'
589 'name': 'Hood Canal Communications'
592 'name': 'Hope - Prescott Cable TV'
595 'name': 'Horizon Cable TV, Inc.'
598 'name': 'Horizon Chillicothe Telephone'
601 'name': 'HTC Communications Co. - IL'
604 'name': 'HTC Communications, Inc. - IA'
607 'name': 'Huxley Communications'
610 'name': 'ImOn Communications'
613 'name': 'Independence Telecommunications'
616 'name': 'Inland Networks'
619 'name': 'Innovative Cable TV St Croix'
622 'name': 'Innovative Cable TV St Thomas-St John'
625 'name': 'Inside Connect Cable'
628 'name': 'Integra Telecom'
631 'name': 'Interstate Telecommunications Coop'
634 'name': 'Irvine Cable'
637 'name': 'K2 Communications'
640 'name': 'Kalida Telephone Company, Inc.'
643 'name': 'Kalona Cooperative Telephone Company'
649 'name': 'KPU Telecommunications'
652 'name': 'Kuhn Communications, Inc.'
655 'name': 'Lakeland Communications'
661 'name': 'Laurel Highland Total Communications, Inc.'
664 'name': 'Lehigh Valley Cooperative Telephone'
667 'name': 'Limestone Cable/Bracken Cable'
679 'name': 'LocalTel Communications'
682 'name': 'Longview - Kilgore Cable TV'
685 'name': 'Lonsdale Video Ventures, LLC'
688 'name': 'Lost Nation-Elwood Telephone Co.'
691 'name': 'LPC Connect'
694 'name': 'Lumos Networks'
697 'name': 'Madison Communications'
700 'name': 'Madison County Cable Inc.'
703 'name': 'Mahaska Communication Group'
706 'name': 'Marne & Elk Horn Telephone Company'
709 'name': 'McClure Telephone Co.'
715 'name': 'Merrimac Communications Ltd.'
724 'name': 'Mid-Hudson Cable'
727 'name': 'Mid-Rivers Communications'
730 'name': 'Midstate Communications'
733 'name': 'Milford Communications'
742 'name': 'Mitchell Telecom'
748 'name': 'Mon-Cre TVE'
751 'name': 'Mountain Telephone'
754 'name': 'Mountain Village Cable'
757 'name': 'MTA Communications, LLC'
763 'name': 'MTC Technologies'
769 'name': 'MTCO Communications'
772 'name': 'Mulberry Telecommunications'
775 'name': 'Murray Electric System'
778 'name': 'MUS FiberNET'
781 'name': 'Muscatine Power & Water'
793 'name': 'Nebraska Central Telecom, Inc.'
796 'name': 'Nelsonville TV Cable'
802 'name': 'New Hope Telephone Cooperative'
808 'name': 'NineStar Connect'
814 'name': 'Nortex Communications'
817 'name': 'North Central Telephone Cooperative'
820 'name': 'Northland Communications'
823 'name': 'Northwest Communications'
826 'name': 'Norwood Light Broadband'
829 'name': 'Nsight Telservices'
835 'name': 'NTS Communications'
847 'name': 'OmniTel Communications'
850 'name': 'OneSource Communications'
853 'name': 'Opelika Power Services'
862 'name': 'OTEC Communication Company'
865 'name': 'Packerland Broadband'
868 'name': 'Panora Telco/Guthrie Center Communications'
871 'name': 'Park Region Telephone & Otter Tail Telcom'
874 'name': 'Partner Communications Cooperative'
880 'name': 'Paul Bunyan Communications'
883 'name': 'Pembroke Telephone Company'
886 'name': 'Peoples Rural Telephone Cooperative'
889 'name': 'PES Energize'
892 'name': 'Philippi Communications System'
895 'name': 'Phonoscope Cable'
898 'name': 'Pine Belt Communications, Inc.'
901 'name': 'Pine Bluff Cable TV'
904 'name': 'Pineland Telephone Cooperative'
907 'name': 'Pinpoint Communications'
910 'name': 'Pioneer Broadband'
913 'name': 'Pioneer Communications'
916 'name': 'Pioneer DTV'
919 'name': 'Plant TiftNet, Inc.'
928 'name': 'Polar Cablevision'
931 'name': 'Pottawatomie Telephone Co.'
934 'name': 'Premier Communications'
946 'name': 'Quality Cablevision'
949 'name': 'Radcliffe Telephone Company'
952 'name': 'Rainbow Communications'
955 'name': 'Rainier Connect'
958 'name': 'Ralls Technologies'
961 'name': 'RC Technologies'
964 'name': 'Red River Communications'
967 'name': 'Reedsburg Utility Commission'
970 'name': 'Reliance Connects- Oregon'
973 'name': 'Reserve Telecommunications'
976 'name': 'Resort TV Cable'
979 'name': 'Richland Grant Telephone Cooperative, Inc.'
982 'name': 'River Valley Telecommunications Coop'
985 'name': 'Rock Port Cablevision'
991 'name': 'RTC Communication Corp'
994 'name': 'RTC-Reservation Telephone Coop.'
997 'name': 'RTEC Communications'
1003 'name': 'San Bruno Cable TV'
1009 'name': 'SCI Broadband-Savage Communications Inc.'
1012 'name': 'Scottsboro Electric Power Board'
1015 'name': 'Scranton Telephone Company'
1024 'name': 'Sherwood Mutual Telephone Association, Inc.'
1027 'name': 'Silver Star Communications'
1030 'name': 'Sjoberg\'s Inc.'
1036 'name': 'SkyBest TV'
1039 'name': 'Smithville Communications'
1045 'name': 'South Central Rural Telephone Cooperative'
1048 'name': 'South Holt Cablevision, Inc.'
1051 'name': 'South Slope Cooperative Communications'
1054 'name': 'Spanish Fork Community Network'
1057 'name': 'Spencer Municipal Utilities'
1060 'name': 'Spillway Communications, Inc.'
1066 'name': 'St. Maarten Cable TV'
1069 'name': 'Star Communications'
1075 'name': 'STRATA Networks'
1078 'name': 'Sumner Cable TV'
1081 'name': 'Surry TV/PCSI TV'
1084 'name': 'Swayzee Communications'
1087 'name': 'Sweetwater Cable Television Co'
1089 'weh010-talequah': {
1090 'name': 'Tahlequah Cable TV'
1096 'name': 'Tele-Media Company'
1099 'name': 'The Community Agency'
1102 'name': 'Three River'
1105 'name': 'Town & Country Technologies'
1108 'name': 'Trans-Video'
1111 'name': 'Trenton TV Cable Company'
1114 'name': 'Tri County Communications Cooperative'
1117 'name': 'TriCounty Telecom'
1120 'name': 'TrioTel Communications, Inc.'
1123 'name': 'Troy Cablevision, Inc.'
1129 'name': 'Tullahoma Utilities Board'
1132 'name': 'TV Cable of Rensselaer'
1141 'name': 'Twin Lakes'
1144 'name': 'Twin Valley'
1147 'name': 'Union Telephone Company'
1150 'name': 'United Communications - TN'
1153 'name': 'United Services'
1159 'name': 'USA Communications'
1162 'name': 'USA Communications/Shellsburg, IA'
1165 'name': 'Valley TeleCom Group'
1168 'name': 'Valley Telecommunications'
1171 'name': 'Valparaiso Broadband'
1174 'name': 'Vast Broadband'
1177 'name': 'Venture Communications Cooperative, Inc.'
1180 'name': 'Vernon Communications Co-op'
1182 'weh010-vicksburg': {
1183 'name': 'Vicksburg Video'
1186 'name': 'Vision Communications'
1189 'name': 'Volcano Vision, Inc.'
1192 'name': 'VolFirst / BLTV'
1201 'name': 'Vyve Broadband'
1204 'name': 'Wabash Mutual Telephone'
1207 'name': 'Waitsfield Cable'
1210 'name': 'Walnut Communications'
1216 'name': 'Waverly Communications Utility'
1222 'name': 'Webster-Calhoun Cooperative Telephone Association'
1225 'name': 'West Alabama TV Cable'
1228 'name': 'West Carolina Communications'
1231 'name': 'West Central Telephone Association'
1234 'name': 'West River Cooperative Telephone Company'
1237 'name': 'WesTel Systems'
1240 'name': 'Western Iowa Networks'
1243 'name': 'Whidbey Telecom'
1246 'name': 'White County Cable TV'
1255 'name': 'Wilkes Communications, Inc./RiverStreet Networks'
1258 'name': 'Wilson Communications'
1261 'name': 'Windomnet/SMBS'
1264 'name': 'Windstream Cable TV'
1267 'name': 'Winnebago Cooperative Telecom Association'
1273 'name': 'WTC Communications, Inc.'
1276 'name': 'Wyandotte Cable'
1279 'name': 'X-Stream Services'
1282 'name': 'XIT Communications'
1285 'name': 'Yelcot Communications'
1291 'name': 'Zito Media'
1296 class AdobePassIE(InfoExtractor
):
1297 _SERVICE_PROVIDER_TEMPLATE
= 'https://sp.auth.adobe.com/adobe-services/%s'
1298 _USER_AGENT
= 'Mozilla/5.0 (X11; Linux i686; rv:47.0) Gecko/20100101 Firefox/47.0'
1299 _MVPD_CACHE
= 'ap-mvpd'
1302 def _get_mvpd_resource(provider_id
, title
, guid
, rating
):
1303 channel
= etree
.Element('channel')
1304 channel_title
= etree
.SubElement(channel
, 'title')
1305 channel_title
.text
= provider_id
1306 item
= etree
.SubElement(channel
, 'item')
1307 resource_title
= etree
.SubElement(item
, 'title')
1308 resource_title
.text
= title
1309 resource_guid
= etree
.SubElement(item
, 'guid')
1310 resource_guid
.text
= guid
1311 resource_rating
= etree
.SubElement(item
, 'media:rating')
1312 resource_rating
.attrib
= {'scheme': 'urn:v-chip'}
1313 resource_rating
.text
= rating
1314 return '<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/">' + etree
.tostring(channel
).decode() + '</rss>'
1316 def _extract_mvpd_auth(self
, url
, video_id
, requestor_id
, resource
):
1317 def xml_text(xml_str
, tag
):
1318 return self
._search
_regex
(
1319 '<%s>(.+?)</%s>' % (tag
, tag
), xml_str
, tag
)
1321 def is_expired(token
, date_ele
):
1322 token_expires
= unified_timestamp(re
.sub(r
'[_ ]GMT', '', xml_text(token
, date_ele
)))
1323 return token_expires
and token_expires
<= int(time
.time())
1325 def post_form(form_page_res
, note
, data
={}):
1326 form_page
, urlh
= form_page_res
1327 post_url
= self
._html
_search
_regex
(r
'<form[^>]+action=(["\'])(?P
<url
>.+?
)\
1', form_page, 'post url
', group='url
')
1328 if not re.match(r'https?
://', post_url):
1329 post_url = compat_urlparse.urljoin(urlh.geturl(), post_url)
1330 form_data = self._hidden_inputs(form_page)
1331 form_data.update(data)
1332 return self._download_webpage_handle(
1333 post_url, video_id, note, data=urlencode_postdata(form_data), headers={
1334 'Content
-Type
': 'application
/x
-www
-form
-urlencoded
',
1337 def raise_mvpd_required():
1338 raise ExtractorError(
1339 'This video
is only available
for users of participating TV providers
. '
1340 'Use
--ap
-mso to specify Adobe Pass Multiple
-system operator Identifier
'
1341 'and --ap
-username
and --ap
-password
or --netrc to provide account credentials
.', expected=True)
1344 'ap_42
': 'anonymous
',
1345 'ap_11
': 'Linux i686
',
1346 'ap_z
': self._USER_AGENT,
1347 'User
-Agent
': self._USER_AGENT,
1350 guid = xml_text(resource, 'guid
') if '<' in resource else resource
1353 requestor_info = self._downloader.cache.load(self._MVPD_CACHE, requestor_id) or {}
1354 authn_token = requestor_info.get('authn_token
')
1355 if authn_token and is_expired(authn_token, 'simpleTokenExpires
'):
1358 # TODO add support for other TV Providers
1359 mso_id = self._downloader.params.get('ap_mso
')
1361 raise_mvpd_required()
1362 username, password = self._get_login_info('ap_username
', 'ap_password
', mso_id)
1363 if not username or not password:
1364 raise_mvpd_required()
1365 mso_info = MSO_INFO[mso_id]
1367 provider_redirect_page_res = self._download_webpage_handle(
1368 self._SERVICE_PROVIDER_TEMPLATE % 'authenticate
/saml
', video_id,
1369 'Downloading Provider Redirect Page
', query={
1372 'requestor_id
': requestor_id,
1373 'no_iframe
': 'false
',
1374 'domain_name
': 'adobe
.com
',
1375 'redirect_url
': url,
1378 if mso_id == 'Comcast_SSO
':
1379 # Comcast page flow varies by video site and whether you
1380 # are on Comcast's network
.
1381 provider_redirect_page
, urlh
= provider_redirect_page_res
1382 # Check for Comcast auto login
1383 if 'automatically signing you in' in provider_redirect_page
:
1384 oauth_redirect_url
= self
._html
_search
_regex
(
1385 r
'window\.location\s*=\s*[\'"]([^\'"]+)',
1386 provider_redirect_page, 'oauth redirect
')
1387 # Just need to process the request. No useful data comes back
1388 self._download_webpage(
1389 oauth_redirect_url, video_id, 'Confirming auto login
')
1391 if '<form name
="signin"' in provider_redirect_page:
1392 # already have the form, just fill it
1393 provider_login_page_res = provider_redirect_page_res
1394 elif 'http
-equiv
="refresh"' in provider_redirect_page:
1395 # redirects to the login page
1396 oauth_redirect_url = self._html_search_regex(
1397 r'content
="0;\s*url=([^\'"]+)',
1398 provider_redirect_page, 'meta refresh redirect
')
1399 provider_login_page_res = self._download_webpage_handle(
1401 video_id, 'Downloading Provider Login Page
')
1403 provider_login_page_res = post_form(
1404 provider_redirect_page_res, 'Downloading Provider Login Page
')
1406 mvpd_confirm_page_res = post_form(provider_login_page_res, 'Logging
in', {
1407 mso_info.get('username_field
', 'username
'): username,
1408 mso_info.get('password_field
', 'password
'): password,
1410 mvpd_confirm_page, urlh = mvpd_confirm_page_res
1411 if '<button
class="submit" value
="Resume">Resume
</button
>' in mvpd_confirm_page:
1412 post_form(mvpd_confirm_page_res, 'Confirming Login
')
1415 # Normal, non-Comcast flow
1416 provider_login_page_res = post_form(
1417 provider_redirect_page_res, 'Downloading Provider Login Page
')
1418 mvpd_confirm_page_res = post_form(provider_login_page_res, 'Logging
in', {
1419 mso_info.get('username_field
', 'username
'): username,
1420 mso_info.get('password_field
', 'password
'): password,
1422 if mso_id != 'Rogers
':
1423 post_form(mvpd_confirm_page_res, 'Confirming Login
')
1425 session = self._download_webpage(
1426 self._SERVICE_PROVIDER_TEMPLATE % 'session
', video_id,
1427 'Retrieving Session
', data=urlencode_postdata({
1429 'requestor_id
': requestor_id,
1430 }), headers=mvpd_headers)
1431 if '<pendingLogout
' in session:
1432 self._downloader.cache.store(self._MVPD_CACHE, requestor_id, {})
1435 authn_token = unescapeHTML(xml_text(session, 'authnToken
'))
1436 requestor_info['authn_token
'] = authn_token
1437 self._downloader.cache.store(self._MVPD_CACHE, requestor_id, requestor_info)
1439 authz_token = requestor_info.get(guid)
1440 if authz_token and is_expired(authz_token, 'simpleTokenTTL
'):
1443 authorize = self._download_webpage(
1444 self._SERVICE_PROVIDER_TEMPLATE % 'authorize
', video_id,
1445 'Retrieving Authorization Token
', data=urlencode_postdata({
1446 'resource_id
': resource,
1447 'requestor_id
': requestor_id,
1448 'authentication_token
': authn_token,
1449 'mso_id
': xml_text(authn_token, 'simpleTokenMsoID
'),
1451 }), headers=mvpd_headers)
1452 if '<pendingLogout
' in authorize:
1453 self._downloader.cache.store(self._MVPD_CACHE, requestor_id, {})
1456 authz_token = unescapeHTML(xml_text(authorize, 'authzToken
'))
1457 requestor_info[guid] = authz_token
1458 self._downloader.cache.store(self._MVPD_CACHE, requestor_id, requestor_info)
1460 mvpd_headers.update({
1461 'ap_19
': xml_text(authn_token, 'simpleSamlNameID
'),
1462 'ap_23
': xml_text(authn_token, 'simpleSamlSessionIndex
'),
1465 short_authorize = self._download_webpage(
1466 self._SERVICE_PROVIDER_TEMPLATE % 'shortAuthorize
',
1467 video_id, 'Retrieving Media Token
', data=urlencode_postdata({
1468 'authz_token
': authz_token,
1469 'requestor_id
': requestor_id,
1470 'session_guid
': xml_text(authn_token, 'simpleTokenAuthenticationGuid
'),
1471 'hashed_guid
': 'false
',
1472 }), headers=mvpd_headers)
1473 if '<pendingLogout
' in short_authorize:
1474 self._downloader.cache.store(self._MVPD_CACHE, requestor_id, {})
1477 return short_authorize