File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
- ## 0.4.7-dev4
1
+ ## 0.4.7
2
2
3
3
* Added the ability to pull an HTML document from a url in ` partition_html ` .
4
4
* Added the the ability to get file summary info from lists of filenames and lists
Original file line number Diff line number Diff line change 1
- __version__ = "0.4.7-dev4 " # pragma: no cover
1
+ __version__ = "0.4.7" # pragma: no cover
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ def partition_html(
51
51
elif url is not None and not filename and not file and not text :
52
52
response = requests .get (url )
53
53
if not response .ok :
54
- raise ValueError (f"URL return an error: { response .status_code } { response . text } " )
54
+ raise ValueError (f"URL return an error: { response .status_code } " )
55
55
56
56
content_type = response .headers .get ("Content-Type" , "" )
57
57
if not content_type .startswith ("text/html" ):
You can’t perform that action at this time.
0 commit comments