使用Python从具有真实性令牌的表单获取链接

时间:2019-10-01 11:51:17

标签: php python forms-authentication

我想知道是否有可能在Python中创建一个脚本来解析来自fom的authencity令牌并获取其对应链接。 这样做的最佳方法是什么?

我附有一段HTML源代码作为参考。

private void dfs(Graph G, int u, int v) {
    int children = 0;
    pre[v] = cnt++;
    low[v] = pre[v];
    for (int w : G.adj(v)) {
        if (pre[w] == -1) {
            children++;
            dfs(G, v, w);

            // update low number
            low[v] = Math.min(low[v], low[w]);

            // non-root of DFS is an articulation point if low[w] >= pre[v]
            if (low[w] >= pre[v] && u != v) 
                articulation[v] = true;
        }

        // **low number - ignore reverse of edge leading to v. Why is this???**
        else if (w != u)
            low[v] = Math.min(low[v], pre[w]);
    }

    // root of DFS is an articulation point if it has more than 1 child
    if (u == v && children > 1)
        articulation[v] = true;
}

谢谢!

0 个答案:

没有答案