我在内容脚本中使用下面的代码来获取youtube视频链接,但是最近在youtube代码中的更改将其破坏了。我看到脚本不再使用import { HashRouter, Route, Switch } from 'react-router-dom'
export const AppContainer = ({ store, history }) => {
return (
<Provider store={store} history={history}>
<HashRouter>
<Switch>
<Route exact path="/" render={() => <CoreLayout children={<Hub />} /> }/>
<Route path="/location_1" render={() => <Component_Holder.component {...store} children={<Component_1 {...store} />} /> }/>
<Route path="/location_2" render={() => <Component_2 {...store} /> }/>
<Route path="/location_3" render={() => <Component_3 {...store} /> }/>
<Route path="/location_4" render={() => <Component_4 {...store} /> }/>
</Switch>
</HashRouter>
</Provider>
)
}
函数了,我尝试从页面中删除getUpdatedConfigurationData()
的值,但是在初始页面加载后它们永不改变吗?由于该函数不再可用,因此如何获取新的url_encoded_fmt_stream_map
值:(
url_encoded_fmt_stream_map