Update Pyramid添加教程.md
This commit is contained in:
+1
-1
@@ -65,7 +65,7 @@ private void parseJson(String apiUrl, String jsonStr) {
|
|||||||
|
|
||||||
```java
|
```java
|
||||||
public Spider getCSP(SourceBean sourceBean) {
|
public Spider getCSP(SourceBean sourceBean) {
|
||||||
//pyramid-add-start
|
//pyramid-add-start 576行
|
||||||
if (sourceBean.getApi().startsWith("py_")) {
|
if (sourceBean.getApi().startsWith("py_")) {
|
||||||
try {
|
try {
|
||||||
return PythonLoader.getInstance().getSpider(sourceBean.getKey(), sourceBean.getExt());
|
return PythonLoader.getInstance().getSpider(sourceBean.getKey(), sourceBean.getExt());
|
||||||
|
|||||||
Reference in New Issue
Block a user