initial commit
This commit is contained in:
105
tests/fixtures/vcr_cassettes/xxxxx.yaml
vendored
Normal file
105
tests/fixtures/vcr_cassettes/xxxxx.yaml
vendored
Normal file
@@ -0,0 +1,105 @@
|
||||
interactions:
|
||||
- request:
|
||||
body: null
|
||||
headers:
|
||||
Connection:
|
||||
- close
|
||||
Host:
|
||||
- www.boxofficemojo.com
|
||||
User-Agent:
|
||||
- Python-urllib/3.9
|
||||
method: GET
|
||||
uri: http://www.boxofficemojo.com/movies/?id=xxxxx.htm
|
||||
response:
|
||||
body:
|
||||
string: '<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
|
||||
|
||||
<html><head>
|
||||
|
||||
<title>301 Moved Permanently</title>
|
||||
|
||||
</head><body>
|
||||
|
||||
<h1>Moved Permanently</h1>
|
||||
|
||||
<p>The document has moved <a href="https://www.boxofficemojo.com/movies/?id=xxxxx.htm">here</a>.</p>
|
||||
|
||||
</body></html>
|
||||
|
||||
'
|
||||
headers:
|
||||
Connection:
|
||||
- Keep-Alive
|
||||
Content-Length:
|
||||
- '258'
|
||||
Content-Type:
|
||||
- text/html; charset=iso-8859-1
|
||||
Date:
|
||||
- Mon, 11 Jul 2022 02:45:44 GMT
|
||||
Keep-Alive:
|
||||
- timeout=2, max=20
|
||||
Location:
|
||||
- https://www.boxofficemojo.com/movies/?id=xxxxx.htm
|
||||
Server:
|
||||
- Server
|
||||
status:
|
||||
code: 301
|
||||
message: Moved Permanently
|
||||
- request:
|
||||
body: null
|
||||
headers:
|
||||
Connection:
|
||||
- close
|
||||
Host:
|
||||
- www.boxofficemojo.com
|
||||
User-Agent:
|
||||
- Python-urllib/3.9
|
||||
method: GET
|
||||
uri: https://www.boxofficemojo.com/movies/?id=xxxxx.htm
|
||||
response:
|
||||
body:
|
||||
string: "<!doctype html><html class=\"a-no-js\" data-19ax5a9jf=\"dingo\"><head><script>var
|
||||
aPageStart = (new Date()).getTime();</script><meta charset=\"utf-8\"/><meta
|
||||
charset=\"utf-8\" />\n <title dir=\"ltr\">Error - Box Office Mojo</title></head><body
|
||||
id=\"body\" class=\"mojo-page-id-error a-m-us a-aui_72554-c a-aui_accordion_a11y_role_354025-c
|
||||
a-aui_killswitch_csa_logger_372963-c a-aui_launch_2021_ally_fixes_392482-c
|
||||
a-aui_pci_risk_banner_210084-c a-aui_preload_261698-c a-aui_rel_noreferrer_noopener_309527-c
|
||||
a-aui_template_weblab_cache_333406-c a-aui_tnr_v2_180836-c\"><div id=\"a-page\"><script
|
||||
type=\"a-state\" data-a-state=\"{"key":"a-wlab-states"}\">{}</script><div
|
||||
class=\"a-section a-spacing-none mojo-navigation mojo-header mojo-flex mojo-flex-h\"><div
|
||||
class=\"a-section mojo-logo\"><a class=\"a-link-normal\" href=\"/\"></a></div><br/></div><main>\n
|
||||
\ <div class=\"a-section mojo-body\"><div class=\"a-section
|
||||
a-padding-large a-text-center\"><h1 class=\"a-color-tertiary\">The requested
|
||||
page was not found.</h1><p class=\"a-size-large a-color-tertiary\"></p></div></div></main>\n
|
||||
\ <div class=\"a-section a-spacing-none mojo-navigation-frame\"><div
|
||||
class=\"a-section a-spacing-none mojo-navigation mojo-footer\"></div></div></div></body></html>"
|
||||
headers:
|
||||
Cache-Control:
|
||||
- no-cache, no-store, max-age=0
|
||||
Connection:
|
||||
- close
|
||||
Content-Language:
|
||||
- en-US
|
||||
Content-Length:
|
||||
- '1261'
|
||||
Content-Type:
|
||||
- text/html;charset=UTF-8
|
||||
Date:
|
||||
- Mon, 11 Jul 2022 02:45:44 GMT
|
||||
Permissions-Policy:
|
||||
- interest-cohort=()
|
||||
Server:
|
||||
- Server
|
||||
Set-Cookie:
|
||||
- session-id=134-8140151-8136511; Domain=boxofficemojo.com; Expires=Tue, 01-Jan-2036
|
||||
08:00:01 GMT; Path=/; Secure
|
||||
- session-id-time=2082787201l; Domain=boxofficemojo.com; Expires=Tue, 01-Jan-2036
|
||||
08:00:01 GMT; Path=/; Secure
|
||||
Vary:
|
||||
- Content-Type,Accept-Encoding,X-Amzn-CDN-Cache,X-Amzn-AX-Treatment,User-Agent
|
||||
x-amz-rid:
|
||||
- SCH3FQ6X9PVAQVJBZQGZ
|
||||
status:
|
||||
code: 404
|
||||
message: Not Found
|
||||
version: 1
|
||||
Reference in New Issue
Block a user