我使用bootstrap 4,我有以下导航菜单结构
2018-06-15 15:08:12 [scrapy.core.engine] DEBUG: Crawled (200) <GET
file:///Users/max/Documents/promotebot/tutorial/tutorial/TF2ITEMS.htm> (referer: None)
Parsed info
User: <a href="/profiles/76561198017108466">cakedog</a>
Steam ID: /profiles/76561198017108466
Downloading Page...
2018-06-15 15:08:12 [scrapy.downloadermiddlewares.redirect] DEBUG: Redirecting (301) to <GET https://www.backpack.tf/robots.txt> from <GET http://www.backpack.tf/robots.txt>
2018-06-15 15:08:12 [scrapy.core.engine] DEBUG: Crawled (200) <GET https://www.backpack.tf/robots.txt> (referer: None) ['cached']
2018-06-15 15:08:12 [scrapy.downloadermiddlewares.redirect] DEBUG: Redirecting (301) to <GET https://www.backpack.tf/profiles/76561198017108466> from <GET http://www.backpack.tf/profiles/76561198017108466>
2018-06-15 15:08:12 [scrapy.core.engine] DEBUG: Crawled (200) <GET https://www.backpack.tf/profiles/76561198017108466> (referer: None) ['cached']
Parsed info
User: <a href="/profiles/76561198015589573">Jarvis Frapner</a>
Steam ID: /profiles/76561198015589573
Page successfully downloaded.
Value finding function activted.
2018-06-15 15:08:12 [scrapy.core.scraper] ERROR: Spider error processing <GET https://www.backpack.tf/profiles/76561198017108466> (referer: None)
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/twisted/internet/defer.py", line 653, in _runCallbacks
current.result = callback(current.result, *args, **kw)
File "/Users/max/Documents/promotebot/tutorial/tutorial/spiders/accounts_spider.py", line 38, in parse_accounts
print(response.css("head"))
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/scrapy/http/response/__init__.py", line 99, in css
raise NotSupported("Response content isn't text")
NotSupported: Response content isn't text
如您所见,由于mr-auto链接1,链接2,链接3位于菜单的左侧,并且&#34;登录&#34;放在右侧。在小屏幕上,我的菜单崩溃,包括导航项目&#34;登录&#34;。那么,是否有可能从崩溃中删除特定的导航项目?