Title: 给h1标签设置居中 body.find('h1')['style'] = "text-align:center;" · Issue #21 · lzjun567/python_scripts · GitHub
Open Graph Title: 给h1标签设置居中 body.find('h1')['style'] = "text-align:center;" · Issue #21 · lzjun567/python_scripts
X Title: 给h1标签设置居中 body.find('h1')['style'] = "text-align:center;" · Issue #21 · lzjun567/python_scripts
Description: #给 h1 tag 设置居中属性 body.find('h1')['style'] = "text-align:center;" 这时候要用 body = soup.find(class_="article-intro") #body = soup.find_all(class_="article-intro") #如果用find_all 那后面就要用 html = h[1:-1] 去掐头去尾 去掉 [ 和 ]
Open Graph Description: #给 h1 tag 设置居中属性 body.find('h1')['style'] = "text-align:center;" 这时候要用 body = soup.find(class_="article-intro") #body = soup.find_all(class_="article-intro") #如果用find_all 那后面就要用 html = h[1:-1] 去掐头去...
X Description: #给 h1 tag 设置居中属性 body.find('h1')['style'] = "text-align:center;" 这时候要用 body = soup.find(class_="article-intro") #body = soup.find_all(class_="article-intro&...
Opengraph URL: https://github.com/lzjun567/python_scripts/issues/21
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"给h1标签设置居中 body.find('h1')['style'] = \"text-align:center;\"","articleBody":"```\r\n#给 h1 tag 设置居中属性\r\nbody.find('h1')['style'] = \"text-align:center;\"\r\n```\r\n\r\n这时候要用\r\n```\r\nbody = soup.find(class_=\"article-intro\")\r\n\r\n#body = soup.find_all(class_=\"article-intro\") #如果用find_all 那后面就要用 html = h[1:-1] 去掐头去尾 去掉 [ 和 ]\r\n```","author":{"url":"https://github.com/pendave","@type":"Person","name":"pendave"},"datePublished":"2017-05-25T03:17:30Z","url":"https://github.com/lzjun567/python_scripts/issues/21"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7d2c949a-48f2-8ab4-9bef-36bb48108d46 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AF10:80664:281311:373F43:6AFC9C43 |
| html-safe-nonce | ad6324f04e28663316d200f08cb9255be6d986d98e082236113bca12cf90c464 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRjEwOjgwNjY0OjI4MTMxMTozNzNGNDM6NkFGQzlDNDMiLCJ2aXNpdG9yX2lkIjoiNTQxMjcwODI1MjgzMzg0ODM4NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 162320af7ee86b4c680faf5bfa09f1ae5ba6131cf5c4b8b16c38fd706c3eab96 |
| hovercard-subject-tag | issue:231229482 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/lzjun567/python_scripts/21/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fb12fa894459ab34f6a0809593a881b79d90016dceee8e27ee02479c7c1d4898/lzjun567/python_scripts/issues/21 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fb12fa894459ab34f6a0809593a881b79d90016dceee8e27ee02479c7c1d4898/lzjun567/python_scripts/issues/21 |
| og:image:alt | #给 h1 tag 设置居中属性 body.find('h1')['style'] = "text-align:center;" 这时候要用 body = soup.find(class_="article-intro") #body = soup.find_all(class_="article-intro") #如果用find_all 那后面就要用 html = h[1:-1] 去掐头去... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | pendave |
| hostname | github.com |
| expected-hostname | github.com |
| None | e3084aead77cbcb4f4904fba53851fa1a0546b0dec3619bd250815e72588dc6d |
| turbo-cache-control | no-preview |
| go-import | github.com/lzjun567/python_scripts git https://github.com/lzjun567/python_scripts.git |
| octolytics-dimension-user_id | 3820941 |
| octolytics-dimension-user_login | lzjun567 |
| octolytics-dimension-repository_id | 81193807 |
| octolytics-dimension-repository_nwo | lzjun567/python_scripts |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81193807 |
| octolytics-dimension-repository_network_root_nwo | lzjun567/python_scripts |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5410e4bebd3e45b138c853ecef3992279d86d5af |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width